Re: docweb stuff in CVS
| From: | Gabor Hojtsy | Date: | Thu, 05 Aug 2004 11:04:57 +0000 |
| Subject: | Re: docweb stuff in CVS | ||
| References: | 1 2 | Groups: | php.doc.web |
| Request: | Send a blank email to doc-web+get-122@lists.php.net to get a copy of this message | ||
Hi,
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 :)Could you please attach next time instead of include verbatim, as it is easier to deal with, if attached. Thanks :)
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.phpGoba--- 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(