stas            Wed Aug  1 23:51:45 2007 UTC

  Modified files:              (Branch: PHP_5_2)
    /php-src/main       main.c 
  Log:
  revert wrong fix
  
  
http://cvs.php.net/viewvc.cgi/php-src/main/main.c?r1=1.640.2.23.2.50&r2=1.640.2.23.2.51&diff_format=u
Index: php-src/main/main.c
diff -u php-src/main/main.c:1.640.2.23.2.50 php-src/main/main.c:1.640.2.23.2.51
--- php-src/main/main.c:1.640.2.23.2.50 Wed Aug  1 12:49:34 2007
+++ php-src/main/main.c Wed Aug  1 23:51:45 2007
@@ -18,7 +18,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: main.c,v 1.640.2.23.2.50 2007/08/01 12:49:34 johannes Exp $ */
+/* $Id: main.c,v 1.640.2.23.2.51 2007/08/01 23:51:45 stas Exp $ */
 
 /* {{{ includes
  */
@@ -442,14 +442,6 @@
                        return;
                }
 #endif
-               if (PG(safe_mode) && (!php_checkuid(PG(error_log), NULL, 
CHECKUID_CHECK_FILE_AND_DIR|CHECKUID_NO_ERRORS))) {
-                       return;
-               }
-
-               if (PG(open_basedir) && 
php_check_open_basedir_ex(PG(error_log), 0 TSRMLS_CC)) {
-                       return;
-               }
-
                fd = VCWD_OPEN_MODE(PG(error_log), O_CREAT | O_APPEND | 
O_WRONLY, 0644);
                if (fd != -1) {
                        char *tmp;

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

Reply via email to