From: Stanislav Malyshev Date: Wed, 1 Aug 2007 23:51:45 +0000 (+0000) Subject: revert wrong fix X-Git-Tag: php-5.2.4RC1~8 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=959aa4f5967d398385960dfe8a2f47b2c2be8c6d;p=php revert wrong fix --- diff --git a/main/main.c b/main/main.c index 9bdc86e28f..b21762cda8 100644 --- a/main/main.c +++ b/main/main.c @@ -442,14 +442,6 @@ PHPAPI void php_log_err(char *log_message TSRMLS_DC) return; } #endif - if (PG(safe_mode) && (!php_checkuid(PG(error_log), NULL, CHECKUID_CHECK_FILE_AND_DIR|CHECKUID_NO_ERRORS))) { - return; - } - - if (PG(open_basedir) && php_check_open_basedir_ex(PG(error_log), 0 TSRMLS_CC)) { - return; - } - fd = VCWD_OPEN_MODE(PG(error_log), O_CREAT | O_APPEND | O_WRONLY, 0644); if (fd != -1) { char *tmp;