Re: docweb stuff in CVS
| From: | Nuno Lopes | Date: | Thu, 05 Aug 2004 10:55:21 +0000 |
| Subject: | Re: docweb stuff in CVS | ||
| References: | 1 | Groups: | php.doc.web |
| Request: | Send a blank email to doc-web+get-121@lists.php.net to get a copy of this message | ||
Hello Gabor,
I'll now finish to write the windows install section and then I'll have some
time to work on this project.
In the midtime, here is my first patch :)
Index: include/lib_general.inc.php
===================================================================
RCS file: /repository/docweb/include/lib_general.inc.php,v
retrieving revision 1.1
diff -u -r1.1 lib_general.inc.php
--- include/lib_general.inc.php 4 Aug 2004 17:14:55 -0000 1.1
+++ include/lib_general.inc.php 5 Aug 2004 10:50:18 -0000
@@ -68,7 +68,7 @@
);
// If PHP is running as an Apache module, get
-if (php_sapi_name() == 'apache') {
+if (substr(php_sapi_name(), 0, 6) == 'apache') {
// Grab subdomains if provided
$domains = explode(
This ensures compatibility with apache 2.
Nuno