diff options
author | Stanislav Malyshev <stas@php.net> | 2007-08-03 01:27:18 +0000 |
---|---|---|
committer | Stanislav Malyshev <stas@php.net> | 2007-08-03 01:27:18 +0000 |
commit | fc5134c783aca1c776597034cb4615b6b5d190aa (patch) | |
tree | b1cf50050edae8289e82ad6dab7b55d34267c8d5 | |
parent | 8ff9d33c6c5c6b0a1a09d637283e6f79c2c6d822 (diff) | |
download | php-git-fc5134c783aca1c776597034cb4615b6b5d190aa.tar.gz |
revert - not a correct fix
-rw-r--r-- | ext/session/mod_files.c | 7 |
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); |