[pLog-svn] r541 - plog/trunk/class/misc
subaochen at devel.plogworld.net
subaochen at devel.plogworld.net
Sun Dec 19 14:17:16 GMT 2004
Author: subaochen
Date: 2004-12-19 14:17:16 +0000 (Sun, 19 Dec 2004)
New Revision: 541
Modified:
plog/trunk/class/misc/glob.class.php
Log:
why myGlob return false when there is no file found? I think an empty array is ok?
Please see file/finder/filefinder.class.php at line 60, returning false will raise an error, but an empty array is ok.
Modified: plog/trunk/class/misc/glob.class.php
===================================================================
--- plog/trunk/class/misc/glob.class.php 2004-12-19 13:44:26 UTC (rev 540)
+++ plog/trunk/class/misc/glob.class.php 2004-12-19 14:17:16 UTC (rev 541)
@@ -107,7 +107,7 @@
closedir($handle);
}
else
- return false;
+ return Array();
return $files;
}
More information about the pLog-svn
mailing list