cvs: php4 /main fopen_wrappers.c

From: Date: Fri, 08 Nov 2002 22:48:02 +0000
Subject: cvs: php4 /main fopen_wrappers.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-15918@lists.php.net to get a copy of this message
iliaa Fri Nov 8 17:48:02 2002 EDT Modified files: /php4/main fopen_wrappers.c Log: Made open_basedir error more descriptive. Index: php4/main/fopen_wrappers.c diff -u php4/main/fopen_wrappers.c:1.152 php4/main/fopen_wrappers.c:1.153 --- php4/main/fopen_wrappers.c:1.152 Tue Nov 5 09:50:17 2002 +++ php4/main/fopen_wrappers.c Fri Nov 8 17:48:01 2002 @@ -16,7 +16,7 @@ | Jim Winstead <jimw@php.net> | +----------------------------------------------------------------------+ */ -/* $Id: fopen_wrappers.c,v 1.152 2002/11/05 14:50:17 iliaa Exp $ */ +/* $Id: fopen_wrappers.c,v 1.153 2002/11/08 22:48:01 iliaa Exp $ */ /* {{{ includes */ @@ -191,7 +191,8 @@ ptr = end; } - php_error_docref(NULL TSRMLS_CC, E_WARNING, "open_basedir restriction in effect. File is in wrong directory"); + 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;

« previous php.cvs (#15918) next »