[git] web/bugs.git branch master updated. 2df0264

From: Date: Tue, 06 Mar 2012 18:18:47 +0000
Subject: [git] web/bugs.git branch master updated. 2df0264
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-13171@lists.php.net to get a copy of this message
The branch, master on web/bugs.git has been updated via 2df0264e3f9cf193d4d0e1109c8d6dcef7028997 (commit) from 2b99dda6d0170299675b87e8c97a16c4ccc2112c (commit) http://git.php.net/?p=web/bugs.git;a=log;h=2df0264e3f9cf193d4d0e1109c8d6dcef7028997;hp=2b99dda6d0170299675b87e8c97a16c4ccc2112c Summary of changes: www/index.php | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) -- Log ---------------------------------------- commit 2df0264e3f9cf193d4d0e1109c8d6dcef7028997 Author: Johannes Schlüter <johannes@schlueters.de> Date: Tue Mar 6 15:56:49 2012 +0100 Use URL hash for Bug redirect diff --git a/www/index.php b/www/index.php index 4fd0292..ca7c7b7 100644 --- a/www/index.php +++ b/www/index.php @@ -26,6 +26,15 @@ if($_SERVER['REQUEST_URI'] == '/random') { response_header('Bugs'); ?> + +<script type="text/javascript"> +var bugid = window.location.hash.substr(1) * 1; +if (bugid > 0) { + var loc = window.location; + loc.href = loc.protocol + '//' + loc.host+(loc.port ? ':'+loc.port : '')+'/'+bugid; +} +</script> + <h1>PHP Bug Tracking System</h1> <p>Before you report a bug, please make sure you have completed the following steps:</p> Thank you for your contribution.

« previous php.webmaster (#13171) next »