Browse Source

More debugging. Yay!

pull/24/head
Teknikode 8 years ago
parent
commit
305ac813f4
  1. 2
      includes/common.php
  2. 2
      templates/default/header.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["SCRIPT_NAME"]);
$url_array = explode("/",$_SERVER["REQUEST_URI"]);
$firstPage = strtolower($url_array[1]);

2
templates/default/header.php

@ -204,7 +204,7 @@ @@ -204,7 +204,7 @@
<link href="<?php echo get_page_url("cdn", $CONF); ?>/<?php echo $CONF['template']; ?>/css/<?php echo $file; ?>" rel="stylesheet" />
<?php
}
echo $_SERVER["SCRIPT_NAME"];
echo $_SERVER["REQUEST_URI"];
echo get_page();
?>
<!--<link href="<?php echo get_page_url("cdn", $CONF); ?>/<?php echo $CONF['template']; ?>/cache/css/<?php echo $CONF['page']; ?>.teknik.min.css" rel="stylesheet" />-->

Loading…
Cancel
Save