tony2001                Mon Jun  5 22:39:10 2006 UTC

  Modified files:              
    /php-src/main/streams       plain_wrapper.c 
  Log:
  no need to check if non-existing include_path complies with open_basedir 
setting
  the only result we can get is segfault
  
  
http://cvs.php.net/viewcvs.cgi/php-src/main/streams/plain_wrapper.c?r1=1.66&r2=1.67&diff_format=u
Index: php-src/main/streams/plain_wrapper.c
diff -u php-src/main/streams/plain_wrapper.c:1.66 
php-src/main/streams/plain_wrapper.c:1.67
--- php-src/main/streams/plain_wrapper.c:1.66   Mon Jun  5 22:23:39 2006
+++ php-src/main/streams/plain_wrapper.c        Mon Jun  5 22:39:10 2006
@@ -16,7 +16,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: plain_wrapper.c,v 1.66 2006/06/05 22:23:39 edink Exp $ */
+/* $Id: plain_wrapper.c,v 1.67 2006/06/05 22:39:10 tony2001 Exp $ */
 
 #include "php.h"
 #include "php_globals.h"
@@ -1227,11 +1227,6 @@
 #endif
 
        if (!path || (path && !*path)) {
-
-               if (((options & STREAM_DISABLE_OPEN_BASEDIR) == 0) && 
php_check_open_basedir(path TSRMLS_CC)) {
-                       return NULL;
-               }
-
                return php_stream_fopen_rel(filename, mode, opened_path, 
options);
        }
 

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

Reply via email to