com web/php: heh, that variable is apparently defined on y2: include/layout.inc
| From: | Paul Dragoonis | Date: | Sun, 02 Jan 2011 14:28:46 +0000 |
| Subject: | com web/php: heh, that variable is apparently defined on y2: include/layout.inc | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-23665@lists.php.net to get a copy of this message | ||
Commit: 278e6d235b00d9a5d61a66aa7e5e5d2f92149e32
Author: Hannes Magnusson <bjori@php.net> Sun, 2 Jan 2011 14:28:46 +0000
Parents: d1f2c95bf6c9e6430efdafcfbc4ac6a5b67ac18a
Branches: master
Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=278e6d235b00d9a5d61a66aa7e5e5d2f92149e32
Log:
heh, that variable is apparently defined on y2
Changed paths:
M include/layout.inc
Diff:
diff --git a/include/layout.inc b/include/layout.inc
index 043a76f..cc8834a 100644
--- a/include/layout.inc
+++ b/include/layout.inc
@@ -814,7 +814,7 @@ function site_header_beta($title = '', $config = array())
// FIXME: How does static.php.net work? Will it get the /js/ folders?
if (false && $MYSITE == "http://www.php.net/") {
$STATIC_ROOT = "http://static.php.net/www.php.net/";
- } elseif (!empty($_SERVER["STATIC_ROOT"])) {
+ } elseif (false && !empty($_SERVER["STATIC_ROOT"])) {
$STATIC_ROOT = $_SERVER["STATIC_ROOT"];
} else {
$STATIC_ROOT = "/";