Commit:    3f8ac74631876823f4eb7b3fd2eda056dc908df0
Author:    Hannes Magnusson <[email protected]>         Fri, 13 Dec 2013 
16:53:20 -0800
Parents:   747737a851a9fcd604e04ae286e0522839c8c7c0
Branches:  master

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

Log:
Add the qa.php.net logo

Changed paths:
  M  images/logo.php
  A  images/logos/qa.jpg


Diff:
diff --git a/images/logo.php b/images/logo.php
index bf2be0b..2fc0f97 100644
--- a/images/logo.php
+++ b/images/logo.php
@@ -25,9 +25,18 @@ if (ini_get("date.timezone") === "" && 
function_exists("date_default_timezone_se
 }
 
 $now = $_SERVER["REQUEST_TIME"];
-$logos = array(
-    "./logos/[email protected]",
-);
+switch($_SERVER["QUERY_STRING"]) {
+    case "QA":
+    case "qa":
+        $logos = array(
+            "./logos/qa.jpg",
+        );
+        break;
+    default:
+        $logos = array(
+            "./logos/[email protected]",
+        );
+}
 
 /* xmas season, december and the first week of January */
 $day = date("z", $_SERVER["REQUEST_TIME"]) - date("L", $now);
diff --git a/images/logos/qa.jpg b/images/logos/qa.jpg
new file mode 100644
index 0000000..092f060
Binary files /dev/null and b/images/logos/qa.jpg differ


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

Reply via email to