nlopess Wed Sep 5 17:23:45 2007 UTC
Modified files:
/phpdoc/scripts/iniupdate ini_search_lib.php
Log:
do not die() if a dir cannot be opened (e.g. because some releases might not
exist..)
http://cvs.php.net/viewvc.cgi/phpdoc/scripts/iniupdate/ini_search_lib.php?r1=1.6&r2=1.7&diff_format=u
Index: phpdoc/scripts/iniupdate/ini_search_lib.php
diff -u phpdoc/scripts/iniupdate/ini_search_lib.php:1.6
phpdoc/scripts/iniupdate/ini_search_lib.php:1.7
--- phpdoc/scripts/iniupdate/ini_search_lib.php:1.6 Mon Dec 26 12:13:32 2005
+++ phpdoc/scripts/iniupdate/ini_search_lib.php Wed Sep 5 17:23:45 2007
@@ -49,7 +49,8 @@
$dir = dirname($dir);
} else {
if (!is_file($dir) && !$files = scandir($dir)) {
- die ("couldn't open the specified dir ($dir)");
+ echo "$dir - FAILED TO SCAN DIR\n";
+ return;
}
unset($files[0], $files[1]); //remove the . and ..
}