diff options
author | Dmitry Stogov <dmitry@php.net> | 2008-07-21 08:42:35 +0000 |
---|---|---|
committer | Dmitry Stogov <dmitry@php.net> | 2008-07-21 08:42:35 +0000 |
commit | 637e591a3dd30cb35e60a85217981bae4a43691d (patch) | |
tree | 11a2ef1d7fe3ac189587d8df53192cdfd3617716 /sapi | |
parent | 79e592831fb832d154856272a492da7ba94be1c4 (diff) | |
download | php-git-637e591a3dd30cb35e60a85217981bae4a43691d.tar.gz |
Fixed chdir() into requested file directory inconsistencies
Diffstat (limited to 'sapi')
-rw-r--r-- | sapi/caudium/caudium.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/sapi/caudium/caudium.c b/sapi/caudium/caudium.c index 9bbd419050..fb77c7d3dd 100644 --- a/sapi/caudium/caudium.c +++ b/sapi/caudium/caudium.c @@ -639,15 +639,6 @@ static void php_caudium_module_main(php_caudium_request *ureq) THREADS_ALLOW(); #endif -#ifdef VIRTUAL_DIR - /* Change virtual directory, if the feature is enabled, which is - * (almost) a requirement for PHP in Caudium. Might want to fail if it - * isn't. Not a problem though, since it's on by default when using ZTS - * which we require. - */ - VCWD_CHDIR_FILE(THIS->filename->str); -#endif - file_handle.type = ZEND_HANDLE_FILENAME; file_handle.filename = THIS->filename->str; file_handle.opened_path = NULL; |