diff options
author | Jesús <heckyel@hyperbola.info> | 2018-12-30 21:05:18 -0500 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2018-12-30 21:05:18 -0500 |
commit | 40e61fabc72ce49149df9be6c60b54d982613c97 (patch) | |
tree | 0440e394b9d87dfecd2ccd18696b092905763f55 | |
parent | 0a7691d5c06ae7f8c9d694374816f23b4b37be51 (diff) | |
download | ytlibre-40e61fabc72ce49149df9be6c60b54d982613c97.tar.lz ytlibre-40e61fabc72ce49149df9be6c60b54d982613c97.tar.xz ytlibre-40e61fabc72ce49149df9be6c60b54d982613c97.zip |
deleted variable unimportant
-rw-r--r-- | index.php | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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/'; |