stas Wed Aug 1 23:52:43 2007 UTC
Modified files: (Branch: PHP_4_4)
/php-src/main main.c
Log:
revert wrong fix
http://cvs.php.net/viewvc.cgi/php-src/main/main.c?r1=1.512.2.63.2.16&r2=1.512.2.63.2.17&diff_format=u
Index: php-src/main/main.c
diff -u php-src/main/main.c:1.512.2.63.2.16 php-src/main/main.c:1.512.2.63.2.17
--- php-src/main/main.c:1.512.2.63.2.16 Tue Jul 10 18:35:13 2007
+++ php-src/main/main.c Wed Aug 1 23:52:43 2007
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: main.c,v 1.512.2.63.2.16 2007/07/10 18:35:13 stas Exp $ */
+/* $Id: main.c,v 1.512.2.63.2.17 2007/08/01 23:52:43 stas Exp $ */
/* {{{ includes
*/
@@ -384,14 +384,6 @@
return;
}
#endif
- if (PG(safe_mode) && (!php_checkuid(PG(error_log), NULL,
CHECKUID_CHECK_FILE_AND_DIR|CHECKUID_NO_ERRORS))) {
- return FAILURE;
- }
-
- if (PG(open_basedir) &&
php_check_open_basedir_ex(PG(error_log), 0 TSRMLS_CC)) {
- return FAILURE;
- }
-
log_file = VCWD_FOPEN(PG(error_log), "ab");
if (log_file != NULL) {
time(&error_time);
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php