[pLog-svn] r541 - plog/trunk/class/misc
Oscar Renalias
oscar at renalias.net
Sun Dec 19 14:26:43 GMT 2004
> Log:
> why myGlob return false when there is no file found? I think an empty
> array is ok?
I agree :-)
Oscar
>
> 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;
> }
>
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.plogworld.net
> http://devel.plogworld.net/mailman/listinfo/plog-svn
>
More information about the pLog-svn
mailing list