Browse Source

@"none" is now equivalent with "" in Apache config directives (Stig)

"none" is now equivalent with "" in Apache config directives.
PHP-4.0.5
Stig Bakken 26 years ago
parent
commit
74fba75ca0
  1. 4
      sapi/apache/mod_php4.c

4
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);

Loading…
Cancel
Save