cvs: php4 /main main.c

From: Date: Fri, 23 Aug 2002 17:39:21 +0000
Subject: cvs: php4 /main main.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-13605@lists.php.net to get a copy of this message
wez Fri Aug 23 13:39:21 2002 EDT Modified files: /php4/main main.c Log: Respect safe mode setting when opening scripts and things for the ZE. Index: php4/main/main.c diff -u php4/main/main.c:1.482 php4/main/main.c:1.483 --- php4/main/main.c:1.482 Thu Aug 22 03:48:22 2002 +++ php4/main/main.c Fri Aug 23 13:39:20 2002 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: main.c,v 1.482 2002/08/22 07:48:22 chregu Exp $ */ +/* $Id: main.c,v 1.483 2002/08/23 17:39:20 wez Exp $ */ /* {{{ includes */ @@ -711,7 +711,7 @@ { TSRMLS_FETCH(); - return php_stream_open_wrapper_as_file((char *)filename, "rb", USE_PATH|IGNORE_URL_WIN|REPORT_ERRORS, opened_path); + return php_stream_open_wrapper_as_file((char *)filename, "rb", ENFORCE_SAFE_MODE|USE_PATH|IGNORE_URL_WIN|REPORT_ERRORS, opened_path); } /* }}} */

« previous php.cvs (#13605) next »