mirror of
https://github.com/islehorse/HISP.git
synced 2025-06-07 19:41:27 +12:00
add other stuff
This commit is contained in:
parent
8e483708b0
commit
7a54cd91d7
3 changed files with 21 additions and 262 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue