Commit: fa43b62dc50f5adb4323dbfe1d022261c256503e Author: Paul Dragoonis <[email protected]> Wed, 3 Jul 2013 17:45:21 +0100 Parents: c69950c4d0a0cb47a8e3f5189987518e394677cc Branches: master
Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=fa43b62dc50f5adb4323dbfe1d022261c256503e Log: [beta] putting elephpants on the homepage only, so that all the images don't get loaded for function lookups since we need those pages to be as fast loading as possible Changed paths: M include/footer.inc Diff: diff --git a/include/footer.inc b/include/footer.inc index 7e624e0..0dded3f 100644 --- a/include/footer.inc +++ b/include/footer.inc @@ -27,7 +27,7 @@ <?php // if elephpants enabled, insert placeholder nodes // to be populated with images via javascript. - if (isset($config['elephpants'])) { + if (isset($config['elephpants']) && $_SERVER['REQUEST_URI'] == '/') { 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
