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-16468@lists.php.net to get a copy of this message
Commit: d65d9304a2b15a8ff22e0bc3f4af8b2f9e0170d9 Author: Adam Harvey <aharvey@php.net> Wed, 7 Aug 2013 20:34:43 -0700 Parents: fedea42b2df6fb47c3c44e205950ab0de71eace0 Branches: master Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=d65d9304a2b15a8ff22e0bc3f4af8b2f9e0170d9 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 (#16468) next »