apache2filter bug#38904

php.internals

Hannes Magnusson

19 years ago
Hi all. Attached is a patch for bug#38904 which is caused by the fact php_execute_script() only chdir()s if zend_file_handle type is set to ZEND_HANDLE_FILENAME, but since the re-implementation of the apache2filter it is set to ZEND_HANDLE_STREAM now. The patch doesn't seem to break any of our tests or anything, but fiddling around there scares me so I would appreciate if someone could sanity-check it and verify that it is the-way-to-go. -Hannes