1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-10 00:27:45 +02:00

Update file_class to make it more flexible; fix some calls and a couple of other things along the way

This commit is contained in:
e107steved
2008-11-20 20:35:24 +00:00
parent 113d4eaac8
commit d9697e4718
13 changed files with 208 additions and 150 deletions

View File

@@ -1,4 +1,4 @@
// $Id: imageselector.sc,v 1.6 2008-03-18 00:39:02 e107coders Exp $
// $Id: imageselector.sc,v 1.7 2008-11-20 20:34:58 e107steved Exp $
global $sql,$parm,$tp;
@@ -21,7 +21,7 @@ $imagelist = array();
foreach($paths as $pths)
{
$imagelist += $fl->get_files($pths,".jpg|.gif|.png|.JPG|.GIF|.PNG", 'standard', $recurse);
$imagelist += $fl->get_files($pths,'\.jpg|\.gif|\.png|\.JPG|\.GIF|\.PNG', 'standard', $recurse);
}
if($imagelist)