aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2018-12-30 21:05:18 -0500
committerJesús <heckyel@hyperbola.info>2018-12-30 21:05:18 -0500
commit40e61fabc72ce49149df9be6c60b54d982613c97 (patch)
tree0440e394b9d87dfecd2ccd18696b092905763f55
parent0a7691d5c06ae7f8c9d694374816f23b4b37be51 (diff)
downloadytlibre-40e61fabc72ce49149df9be6c60b54d982613c97.tar.lz
ytlibre-40e61fabc72ce49149df9be6c60b54d982613c97.tar.xz
ytlibre-40e61fabc72ce49149df9be6c60b54d982613c97.zip
deleted variable unimportant
-rw-r--r--index.php4
1 files changed, 1 insertions, 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/';