stas            Fri Aug  3 01:30:22 2007 UTC

  Modified files:              (Branch: PHP_5_2)
    /php-src/main       main.c 
  Log:
  check correct value
  
  
http://cvs.php.net/viewvc.cgi/php-src/main/main.c?r1=1.640.2.23.2.52&r2=1.640.2.23.2.53&diff_format=u
Index: php-src/main/main.c
diff -u php-src/main/main.c:1.640.2.23.2.52 php-src/main/main.c:1.640.2.23.2.53
--- php-src/main/main.c:1.640.2.23.2.52 Fri Aug  3 01:15:51 2007
+++ php-src/main/main.c Fri Aug  3 01:30:21 2007
@@ -18,7 +18,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: main.c,v 1.640.2.23.2.52 2007/08/03 01:15:51 stas Exp $ */
+/* $Id: main.c,v 1.640.2.23.2.53 2007/08/03 01:30:21 stas Exp $ */
 
 /* {{{ includes
  */
@@ -303,7 +303,7 @@
 {
        /* Only do the safemode/open_basedir check at runtime */
        if ((stage == PHP_INI_STAGE_RUNTIME || stage == PHP_INI_STAGE_HTACCESS) 
&&
-               strcmp(PG(error_log), "syslog")) {
+               strcmp(new_value, "syslog")) {
                if (PG(safe_mode) && (!php_checkuid(new_value, NULL, 
CHECKUID_CHECK_FILE_AND_DIR))) {
                        return FAILURE;
                }

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to