cvs: php4 /sapi/apache mod_php5.c

From: Date: Thu, 08 May 2003 09:27:18 +0000
Subject: cvs: php4 /sapi/apache mod_php5.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-20781@lists.php.net to get a copy of this message
edink Thu May 8 05:27:18 2003 EDT Modified files: /php4/sapi/apache mod_php5.c Log: MFB Index: php4/sapi/apache/mod_php5.c diff -u php4/sapi/apache/mod_php5.c:1.1 php4/sapi/apache/mod_php5.c:1.2 --- php4/sapi/apache/mod_php5.c:1.1 Fri Mar 28 23:52:46 2003 +++ php4/sapi/apache/mod_php5.c Thu May 8 05:27:18 2003 @@ -17,7 +17,7 @@ | PHP 4.0 patches by Zeev Suraski <zeev@zend.com> | +----------------------------------------------------------------------+ */ -/* $Id: mod_php5.c,v 1.1 2003/03/29 04:52:46 sterling Exp $ */ +/* $Id: mod_php5.c,v 1.2 2003/05/08 09:27:18 edink Exp $ */ #include "php_apache_http.h" #include "http_conf_globals.h" @@ -534,6 +534,11 @@ HashTable *per_dir_conf; TSRMLS_FETCH(); + per_dir_conf = (HashTable *) get_module_config(r->per_dir_config, &php4_module); + if (per_dir_conf) { + zend_hash_apply((HashTable *) per_dir_conf, (apply_func_t) php_apache_alter_ini_entries TSRMLS_CC); + } + if (AP(in_request)) { zend_file_handle fh; @@ -557,11 +562,6 @@ return DECLINED; } - per_dir_conf = (HashTable *) get_module_config(r->per_dir_config, &php5_module); - if (per_dir_conf) { - zend_hash_apply((HashTable *) per_dir_conf, (apply_func_t) php_apache_alter_ini_entries TSRMLS_CC); - } - /* If PHP parser engine has been turned off with an "engine off" * directive, then decline to handle this request */

« previous php.cvs (#20781) next »