summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStanislav Malyshev <stas@php.net>2007-08-03 01:27:18 +0000
committerStanislav Malyshev <stas@php.net>2007-08-03 01:27:18 +0000
commitfc5134c783aca1c776597034cb4615b6b5d190aa (patch)
treeb1cf50050edae8289e82ad6dab7b55d34267c8d5
parent8ff9d33c6c5c6b0a1a09d637283e6f79c2c6d822 (diff)
downloadphp-git-fc5134c783aca1c776597034cb4615b6b5d190aa.tar.gz
revert - not a correct fix
-rw-r--r--ext/session/mod_files.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/ext/session/mod_files.c b/ext/session/mod_files.c
index 84fb778b96..a5f681eaa8 100644
--- a/ext/session/mod_files.c
+++ b/ext/session/mod_files.c
@@ -265,13 +265,6 @@ PS_OPEN_FUNC(files)
save_path = p + 1;
}
- if (PG(safe_mode) && (!php_checkuid(save_path, NULL, CHECKUID_ALLOW_ONLY_DIR))) {
- return FAILURE;
- }
- if (php_check_open_basedir(save_path TSRMLS_CC)) {
- return FAILURE;
- }
-
data->basedir_len = strlen(save_path);
data->basedir = estrndup(save_path, data->basedir_len);