Skip to content

Commit

Permalink
Missed a function
Browse files Browse the repository at this point in the history
(cherry picked from commit 4d606d2)
  • Loading branch information
dkulp committed Mar 7, 2020
1 parent ed73887 commit ed2f333
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions www/about.php
Expand Up @@ -79,6 +79,19 @@ function getFileCount($dir)

return $i;
}

function getFileList($dir, $ext)
{
$i = array();
if ($handle = opendir($dir)) {
while (($file = readdir($handle)) !== false) {
if (!in_array($file, array('.', '..')) && !is_dir($dir . $file) && strtolower(substr($file, strrpos($file, '.') + 1)) == $ext) {
array_push($i, $file);
}
}
}
return $i;
}

function PrintGitBranchOptions()
{
Expand Down

0 comments on commit ed2f333

Please sign in to comment.