Hi !!
open_basedir warning in fopen_wrappers.c does not correctly report the
real open_basedir paths, it only reports the path it was actually
testing when the test failed. This patch will make it show the correct
information.
--
Best regards ...
I was arrested for selling illegal sized paper.
----------------------------------------------------------------
David Saez Padros http://www.ols.es
On-Line Services 2000 S.L. e-mail [EMAIL PROTECTED]
Pintor Vayreda 1 telf +34 902 50 29 75
08184 Palau-Solita i Plegamans movil +34 670 35 27 53
----------------------------------------------------------------
*** fopen_wrappers.c Sun Feb 23 21:13:08 2003
--- fopen_wrappers.c Sun Feb 23 21:13:40 2003
***************
*** 192,198 ****
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);
efree(pathbuf);
errno = EPERM; /* we deny permission to open it */
return -1;
--- 192,198 ----
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, PG(open_basedir));
efree(pathbuf);
errno = EPERM; /* we deny permission to open it */
return -1;
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php