cvs: php4 /sapi/apache_hooks mod_php4.c
| From: | Edin Kadribasic | Date: | Thu, 08 May 2003 09:31:09 +0000 |
| Subject: | cvs: php4 /sapi/apache_hooks mod_php4.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-20782@lists.php.net to get a copy of this message | ||
edink Thu May 8 05:31:09 2003 EDT
Modified files:
/php4/sapi/apache_hooks mod_php4.c
Log:
Merge from sapi/apache (fix for #23504)
Index: php4/sapi/apache_hooks/mod_php4.c
diff -u php4/sapi/apache_hooks/mod_php4.c:1.9 php4/sapi/apache_hooks/mod_php4.c:1.10
--- php4/sapi/apache_hooks/mod_php4.c:1.9 Tue Feb 4 19:41:40 2003
+++ php4/sapi/apache_hooks/mod_php4.c Thu May 8 05:31:08 2003
@@ -17,7 +17,7 @@
| PHP 4.0 patches by Zeev Suraski <zeev@zend.com> |
+----------------------------------------------------------------------+
*/
-/* $Id: mod_php4.c,v 1.9 2003/02/05 00:41:40 iliaa Exp $ */
+/* $Id: mod_php4.c,v 1.10 2003/05/08 09:31:08 edink Exp $ */
#include "php_apache_http.h"
@@ -634,6 +634,12 @@
int retval;
php_per_dir_config *per_dir_conf;
TSRMLS_FETCH();
+
+ per_dir_conf = (php_per_dir_config *) get_module_config(r->per_dir_config, &php4_module);
+ if (per_dir_conf) {
+ zend_hash_apply((HashTable *) per_dir_conf->ini_settings, (apply_func_t)
php_apache_alter_ini_entries TSRMLS_CC);
+ }
+
if (AP(in_request)) {
zend_file_handle fh;
@@ -655,11 +661,6 @@
/* Make sure file exists */
if (filename == NULL && r->finfo.st_mode == 0) {
return DECLINED;
- }
-
- per_dir_conf = (php_per_dir_config *) get_module_config(r->per_dir_config, &php4_module);
- if (per_dir_conf) {
- zend_hash_apply((HashTable *) per_dir_conf->ini_settings, (apply_func_t)
php_apache_alter_ini_entries TSRMLS_CC);
}
/* If PHP parser engine has been turned off with an "engine off"