svn: /web/php-master/trunk/include/ login.inc
| From: | Hannes Magnusson | Date: | Thu, 24 Mar 2011 18:35:30 +0000 |
| Subject: | svn: /web/php-master/trunk/include/ login.inc | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-10731@lists.php.net to get a copy of this message | ||
bjori Thu, 24 Mar 2011 18:35:30 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=309661
Log:
Actually do the redrecit
Changed paths:
U web/php-master/trunk/include/login.inc
Modified: web/php-master/trunk/include/login.inc
===================================================================
--- web/php-master/trunk/include/login.inc 2011-03-24 17:46:06 UTC (rev 309660)
+++ web/php-master/trunk/include/login.inc 2011-03-24 18:35:30 UTC (rev 309661)
@@ -20,7 +20,8 @@
session_destroy();
if (!isset($_SERVER["HTTPS"]) || $_SERVER["HTTPS"] != "on") {
- header("https://master.php.net/manage/" .
basename($_SERVER["SCRIPT_NAME"]));
+ header("Location: https://master.php.net/manage/" .
basename($_SERVER["SCRIPT_NAME"]));
+ exit;
}
?>