]> granicus.if.org Git - php/commitdiff
revert wrong fix
authorStanislav Malyshev <stas@php.net>
Wed, 1 Aug 2007 23:51:45 +0000 (23:51 +0000)
committerStanislav Malyshev <stas@php.net>
Wed, 1 Aug 2007 23:51:45 +0000 (23:51 +0000)
main/main.c

index 9bdc86e28ff99615a1cdcec889afd223e615c36c..b21762cda85d397dd38c9a3805130c2a8701e4a3 100644 (file)
@@ -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;