com web/php: Make sure we have a query string: images/logo.php

From: 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-17655@lists.php.net to get a copy of this message
Commit: fea7d4326427d6f2460ced60a67e1882bd8db9e3 Author: Hannes Magnusson <bjori@mongodb.com> Sun, 15 Dec 2013 17:06:10 -0800 Parents: bda61e9795e3d8dc87a82b7a8f7582a74b00fded Branches: master Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=fea7d4326427d6f2460ced60a67e1882bd8db9e3 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":

« previous php.webmaster (#17655) next »