Skip to content
This repository has been archived by the owner on Aug 22, 2024. It is now read-only.

Commit

Permalink
Initial git check-in.
Browse files Browse the repository at this point in the history
  • Loading branch information
brandondove committed Mar 26, 2011
0 parents commit 991126b
Show file tree
Hide file tree
Showing 12 changed files with 6,922 additions and 0 deletions.
674 changes: 674 additions & 0 deletions gpl-3.0.txt

Large diffs are not rendered by default.

Binary file added large-menu-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4,645 changes: 4,645 additions & 0 deletions menu-icon.ai

Large diffs are not rendered by default.

Binary file added menu-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
27 changes: 27 additions & 0 deletions php/Directory.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<?php
function dirList ($directory)
{

// create an array to hold directory list
$results = array();

// create a handler for the directory
$handler = @opendir($directory);

// keep going until all files in directory have been read
while ($file = @readdir($handler)) {

// if $file isn't this directory or its parent,
// add it to the results array
if ($file != '.' && $file != '..' && $file != '.DS_Store' && $file != '.svn')
$results[] = $file;
}

// tidy up: close the handler
@closedir($handler);

// done!
return $results;

}
?>
Loading

0 comments on commit 991126b

Please sign in to comment.