Commit:    11d6601c2e7d130b4b0645ccc969bc8dcd97d65b
Author:    Levi Morrison <[email protected]>         Wed, 7 May 2014 21:38:01 -0600
Parents:   26f94757ffaad7b2cddf1ff854d7aed3cb46b63b
Branches:  master

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

Log:
Decreased elephpant frequency; also optimized the image.

Changed paths:
  M  images/logo.php
  A  images/logos/elephpant-running-78x48.gif


Diff:
diff --git a/images/logo.php b/images/logo.php
index cbd1e22..02a61fe 100644
--- a/images/logo.php
+++ b/images/logo.php
@@ -50,8 +50,8 @@ if ($day < 6 || 365-$day < 32) {
 }
 
 /* Every so often.. give the elephpant a chance */
-if ($now % 60 == 10 || $refresh) {
-    $logos[] = "./ele-running.gif";
+if ($now % 64 == 0 || $refresh) {
+    $logos[] = "./logos/elephpant-running-78x48.gif";
 }
 if ($now % 240 == 10 || $refresh) {
     $logos = array_merge($logos, glob("logos/oldschool/*"));
diff --git a/images/logos/elephpant-running-78x48.gif 
b/images/logos/elephpant-running-78x48.gif
new file mode 100644
index 0000000..76ab40f
Binary files /dev/null and b/images/logos/elephpant-running-78x48.gif differ


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

Reply via email to