From: Stig Bakken Date: Thu, 2 Mar 2000 14:32:24 +0000 (+0000) Subject: @"none" is now equivalent with "" in Apache config directives (Stig) X-Git-Tag: PHP-4.0-RC1~324 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=74fba75ca0dd75fc8103299729cef35dcc66dbf3;p=php @"none" is now equivalent with "" in Apache config directives (Stig) "none" is now equivalent with "" in Apache config directives. --- diff --git a/sapi/apache/mod_php4.c b/sapi/apache/mod_php4.c index 7559436192..328e179080 100644 --- a/sapi/apache/mod_php4.c +++ b/sapi/apache/mod_php4.c @@ -568,6 +568,10 @@ CONST_PREFIX char *php_apache_value_handler_ex(cmd_parms *cmd, HashTable *conf, } per_dir_entry.type = mode; + if (strcasecmp(arg2, "none") == 0) { + arg2 = ""; + } + per_dir_entry.key_length = strlen(arg1); per_dir_entry.value_length = strlen(arg2);