add other stuff

This commit is contained in:
SilicaAndPina 2021-07-07 00:17:14 +12:00
parent 8e483708b0
commit 7a54cd91d7
3 changed files with 21 additions and 262 deletions

View file

@ -8,8 +8,8 @@ if(session_status() !== PHP_SESSION_ACTIVE)
if(!function_exists('is_logged_in'))
include('common.php');
$info = parse_url($_SERVER['HTTP_HOST']);
$host = $info['host'];
$host_names = explode(".", $host);
$host = $host_names[count($host_names)-2] . "." . $host_names[count($host_names)-1];
?>
<HEAD>