summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStanislav Malyshev <stas@php.net>2007-08-01 23:52:43 +0000
committerStanislav Malyshev <stas@php.net>2007-08-01 23:52:43 +0000
commit8ff9d33c6c5c6b0a1a09d637283e6f79c2c6d822 (patch)
treed5773bea87eacc57d0a3c5a1eb3196084d51e7f4
parent7353529de902dc55e7d57c20ee0d57a9ed546c3d (diff)
downloadphp-git-8ff9d33c6c5c6b0a1a09d637283e6f79c2c6d822.tar.gz
revert wrong fix
-rw-r--r--main/main.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/main/main.c b/main/main.c
index 5a5a563fb8..bba551f75d 100644
--- a/main/main.c
+++ b/main/main.c
@@ -384,14 +384,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 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);