From 40e61fabc72ce49149df9be6c60b54d982613c97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs?= Date: Sun, 30 Dec 2018 21:05:18 -0500 Subject: deleted variable unimportant --- index.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/index.php b/index.php index 3c05c94..8000daa 100644 --- a/index.php +++ b/index.php @@ -52,9 +52,7 @@ if (empty($_GET['link'])){ $pro = 'http'; } - $port = ($_SERVER["SERVER_PORT"] == "80") ? "" : (":".$_SERVER["SERVER_PORT"]); - - $subject = $pro."://".$_SERVER['SERVER_NAME'].$port.$_SERVER['SCRIPT_NAME']; + $subject = $pro."://".$_SERVER['SERVER_NAME'].$_SERVER['SCRIPT_NAME']; $pattern = array(); $pattern[0] = '/index.php/'; -- cgit v1.2.3