Commit 6d728ce7 by Seldaek

* Fixed a classpath rebuilding bug that occured on some UNIX platforms due to…

* Fixed a classpath rebuilding bug that occured on some UNIX platforms due to glob() inconsistencies git-svn-id: svn://dwoo.org/dwoo/trunk@15 0598d79b-80c4-4d41-97ba-ac86fbbd088b
parent a7e3b93b
......@@ -1473,7 +1473,9 @@ class DwooLoader
}
// iterates over all files/folders
foreach(glob($path.DIRECTORY_SEPARATOR.'*') as $f)
$list = glob($path.DIRECTORY_SEPARATOR.'*');
if(is_array($list))
foreach($list as $f)
{
if(is_dir($f))
self::rebuildClassPathCache($f, false);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment