Commit:    1fb7ded2a17830394dc7d9dec543466a6805afa0
Author:    Hannes Magnusson <[email protected]>         Thu, 21 Nov 2013 
22:19:41 -0800
Parents:   a6f715665f11cfa6a1e109a3f33d5e2de2f977eb
Branches:  master

Link:       
http://git.php.net/?p=web/php.git;a=commitdiff;h=1fb7ded2a17830394dc7d9dec543466a6805afa0

Log:
Fix elephpants on the frontpage (without www)

And there is also no reason to check for "/" anyway.
To enable them you have to pass in the key explicitly
(which currently the docs do too..)

Changed paths:
  M  include/footer.inc


Diff:
diff --git a/include/footer.inc b/include/footer.inc
index b57afca..49640da 100644
--- a/include/footer.inc
+++ b/include/footer.inc
@@ -37,7 +37,7 @@
     <?php
     // if elephpants enabled, insert placeholder nodes
     // to be populated with images via javascript.
-    if (isset($config['elephpants']) && $_SERVER['REQUEST_URI'] == '/') {
+    if (isset($config['elephpants'])) {
         print "<div class='elephpants'><div class=images></div></div>";
     }
     ?>


--
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to