summaryrefslogtreecommitdiff
path: root/sapi
diff options
context:
space:
mode:
authorSander Roobol <sander@php.net>2002-06-22 15:31:44 +0000
committerSander Roobol <sander@php.net>2002-06-22 15:31:44 +0000
commitd279a9224232674a969ba35ae34f75c4bb48c7ab (patch)
tree52fca30e582ca2cab7e9be9f5e3ca404abc4085d /sapi
parente2f57d0fcccd3db3cc017a2f14861f8ec6d9b7f8 (diff)
downloadphp-git-d279a9224232674a969ba35ae34f75c4bb48c7ab.tar.gz
Made php_admin_value work outside <location> and <directory> blocks.
Diffstat (limited to 'sapi')
-rw-r--r--sapi/apache2filter/apache_config.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sapi/apache2filter/apache_config.c b/sapi/apache2filter/apache_config.c
index 90a544415f..96b27ddbf2 100644
--- a/sapi/apache2filter/apache_config.c
+++ b/sapi/apache2filter/apache_config.c
@@ -165,9 +165,9 @@ const command_rec php_dir_cmds[] =
"PHP Value Modifier"),
AP_INIT_TAKE2("php_flag", php_apache_flag_handler, NULL, OR_OPTIONS,
"PHP Flag Modifier"),
- AP_INIT_TAKE2("php_admin_value", php_apache_admin_value_handler, NULL, ACCESS_CONF,
+ AP_INIT_TAKE2("php_admin_value", php_apache_admin_value_handler, NULL, ACCESS_CONF|RSRC_CONF,
"PHP Value Modifier (Admin)"),
- AP_INIT_TAKE2("php_admin_flag", php_apache_admin_flag_handler, NULL, ACCESS_CONF,
+ AP_INIT_TAKE2("php_admin_flag", php_apache_admin_flag_handler, NULL, ACCESS_CONF|RSRC_CONF,
"PHP Flag Modifier (Admin)"),
AP_INIT_TAKE1("PHPINIDir", php_apache_phpini_set, NULL, RSRC_CONF,
"Directory containing the php.ini file"),