cvs: /php4/sapi/apache mod_php4.c
| From: | Stig Bakken | Date: | Thu, 02 Mar 2000 14:32:54 +0000 |
| Subject: | cvs: /php4/sapi/apache mod_php4.c | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-11337@lists.php.net to get a copy of this message | ||
ssb Thu Mar 2 06:32:54 2000 EDT
Modified files:
/php4/sapi/apache mod_php4.c
Log:
@"none" is now equivalent with "" in Apache config directives (Stig)
"none" is now equivalent with "" in Apache config directives.
Index: php4/sapi/apache/mod_php4.c
diff -u php4/sapi/apache/mod_php4.c:1.38 php4/sapi/apache/mod_php4.c:1.39
--- php4/sapi/apache/mod_php4.c:1.38 Sat Feb 26 08:07:05 2000
+++ php4/sapi/apache/mod_php4.c Thu Mar 2 06:32:24 2000
@@ -17,7 +17,7 @@
| PHP 4.0 patches by Zeev Suraski <zeev@zend.com> |
+----------------------------------------------------------------------+
*/
-/* $Id: mod_php4.c,v 1.38 2000/02/26 16:07:05 zeev Exp $ */
+/* $Id: mod_php4.c,v 1.39 2000/03/02 14:32:24 ssb Exp $ */
#define NO_REGEX_EXTRA_H
@@ -567,6 +567,10 @@
apache_php_initialized = 1;
}
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);