edink Tue Sep 5 11:55:08 2006 UTC
Modified files:
/php-src/main php_ini.c
Log:
MFB
http://cvs.php.net/viewvc.cgi/php-src/main/php_ini.c?r1=1.144&r2=1.145&diff_format=u
Index: php-src/main/php_ini.c
diff -u php-src/main/php_ini.c:1.144 php-src/main/php_ini.c:1.145
--- php-src/main/php_ini.c:1.144 Thu Aug 3 11:05:09 2006
+++ php-src/main/php_ini.c Tue Sep 5 11:55:08 2006
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php_ini.c,v 1.144 2006/08/03 11:05:09 dmitry Exp $ */
+/* $Id: php_ini.c,v 1.145 2006/09/05 11:55:08 edink Exp $ */
#include "php.h"
#include "ext/standard/info.h"
@@ -331,8 +331,8 @@
}
#endif
- /* Add cwd (only with CLI) */
- if (strcmp(sapi_module.name, "cli") == 0) {
+ /* Add cwd (not with CLI) */
+ if (strcmp(sapi_module.name, "cli") != 0) {
if (*php_ini_search_path) {
strcat(php_ini_search_path, paths_separator);
}
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php