sniper          Sun Feb 23 17:30:02 2003 EDT

  Modified files:              
    /php4/main  fopen_wrappers.c 
  Log:
  MFB: Fix for open_basedir error message
  
Index: php4/main/fopen_wrappers.c
diff -u php4/main/fopen_wrappers.c:1.158 php4/main/fopen_wrappers.c:1.159
--- php4/main/fopen_wrappers.c:1.158    Wed Feb 19 03:40:18 2003
+++ php4/main/fopen_wrappers.c  Sun Feb 23 17:30:02 2003
@@ -17,7 +17,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: fopen_wrappers.c,v 1.158 2003/02/19 08:40:18 sniper Exp $ */
+/* $Id: fopen_wrappers.c,v 1.159 2003/02/23 22:30:02 sniper Exp $ */
 
 /* {{{ includes
  */
@@ -191,7 +191,7 @@
                        ptr = end;
                }
                php_error_docref(NULL TSRMLS_CC, E_WARNING, 
-                       "open_basedir restriction in effect. File(%s) is not within 
the allowed path(s): (%s)", path, pathbuf);
+                       "open_basedir restriction in effect. File(%s) is not within 
the allowed path(s): (%s)", path, PG(open_basedir));
                efree(pathbuf);
                errno = EPERM; /* we deny permission to open it */
                return -1;



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

Reply via email to