Commit:    d65d9304a2b15a8ff22e0bc3f4af8b2f9e0170d9
Author:    Adam Harvey <ahar...@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);


--
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to