cvs: docweb /include init.inc.php
| From: | Vincent Gevers | Date: | Fri, 20 May 2005 14:58:55 +0000 |
| Subject: | cvs: docweb /include init.inc.php | ||
| Groups: | php.doc.web | ||
| Request: | Send a blank email to doc-web+get-658@lists.php.net to get a copy of this message | ||
vincent Fri May 20 10:58:55 2005 EDT
Modified files:
/docweb/include init.inc.php
Log:
make sure we don't create // links on the main page, it breaks firefox...
http://cvs.php.net/diff.php/docweb/include/init.inc.php?r1=1.10&r2=1.11&ty=u
Index: docweb/include/init.inc.php
diff -u docweb/include/init.inc.php:1.10 docweb/include/init.inc.php:1.11
--- docweb/include/init.inc.php:1.10 Thu Feb 17 08:23:57 2005
+++ docweb/include/init.inc.php Fri May 20 10:58:54 2005
@@ -18,7 +18,7 @@
| Gabor Hojtsy <goba@php.net> |
| Sean Coates <sean@php.net> |
+----------------------------------------------------------------------+
-$Id: init.inc.php,v 1.10 2005/02/17 13:23:57 nlopess Exp $
+$Id: init.inc.php,v 1.11 2005/05/20 14:58:54 vincent Exp $
*/
error_reporting(E_ALL);
@@ -56,10 +56,10 @@
$baseURL[] = $language;
}
- $baseURL = isset($baseURL) ? implode('/', $baseURL) : '';
+ $baseURL = isset($baseURL) ? '/' . implode('/', $baseURL) : '';
// actually define the constant
- define('BASE_URL', '/' . $baseURL);
+ define('BASE_URL', $baseURL);
}