com web/php: Remove unused parse_url() call. That was dumb. Sorry.: include/prepend.inc

From: Date: Thu, 08 Aug 2013 03:34:43 +0000
Subject: com web/php: Remove unused parse_url() call. That was dumb. Sorry.: include/prepend.inc
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-22680@lists.php.net to get a copy of this message
Commit: 9fa651c36a9109def5bcb4152b032b66a42912d6 Author: Adam Harvey <aharvey@php.net> Wed, 7 Aug 2013 20:34:43 -0700 Parents: ad65043f3ce78d2a60a54167c4a3c83f7ad92711 Branches: master Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=9fa651c36a9109def5bcb4152b032b66a42912d6 Log: Remove unused parse_url() call. That was dumb. Sorry. Changed paths: M include/prepend.inc Diff: diff --git a/include/prepend.inc b/include/prepend.inc index 942b8b1..54c135f 100644 --- a/include/prepend.inc +++ b/include/prepend.inc @@ -65,7 +65,6 @@ include $_SERVER['DOCUMENT_ROOT'] . '/include/last_updated.inc'; // SETBETA Setting for temporary banners if(isset($_GET['setbeta']) && !headers_sent()) { - $uri = parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH); myphpnet_setbeta( (bool) $_GET['setbeta']); myphpnet_save(); list($path, $query) = explode('?', $_SERVER['REQUEST_URI'], 2);

« previous php.webmaster (#22680) next »