Browse Source

Trying SCRIPT_NAME

pull/24/head
Teknikode 8 years ago
parent
commit
7a509bf554
  1. 2
      includes/common.php

2
includes/common.php

@ -57,7 +57,7 @@ function get_subdomain() @@ -57,7 +57,7 @@ function get_subdomain()
function get_page()
{
$url_array = explode("/",$_SERVER["REQUEST_URI"]);
$url_array = explode("/",$_SERVER["SCRIPT_NAME"]);
$firstPage = strtolower($url_array[1]);

Loading…
Cancel
Save