com web/php: Make sure we have a query string: images/logo.php
| From: | Paul Dragoonis | Date: | Mon, 16 Dec 2013 01:06:10 +0000 |
| Subject: | com web/php: Make sure we have a query string: images/logo.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-22302@lists.php.net to get a copy of this message | ||
Commit: abb5882d7b673058d013e89b402c1f4a1f6d34b3
Author: Hannes Magnusson <bjori@mongodb.com> Sun, 15 Dec 2013 17:06:10 -0800
Parents: a56e42370f4c4dd8661cca5ab99e858e5549413c
Branches: master
Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=abb5882d7b673058d013e89b402c1f4a1f6d34b3
Log:
Make sure we have a query string
Changed paths:
M images/logo.php
Diff:
diff --git a/images/logo.php b/images/logo.php
index 2fc0f97..c57648d 100644
--- a/images/logo.php
+++ b/images/logo.php
@@ -25,6 +25,9 @@ if (ini_get("date.timezone") === "" &&
function_exists("date_default_timezone_se
}
$now = $_SERVER["REQUEST_TIME"];
+if(!isset($_SERVER["QUERY_STRING"])) {
+ $_SERVER["QUERY_STRING"] = "phpweb";
+}
switch($_SERVER["QUERY_STRING"]) {
case "QA":
case "qa":