From 74fba75ca0dd75fc8103299729cef35dcc66dbf3 Mon Sep 17 00:00:00 2001 From: Stig Bakken Date: Thu, 2 Mar 2000 14:32:24 +0000 Subject: [PATCH] @"none" is now equivalent with "" in Apache config directives (Stig) "none" is now equivalent with "" in Apache config directives. --- sapi/apache/mod_php4.c | 4 ++++ 1 file changed, 4 insertions(+) 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); -- 2.50.1