Skip to content

Commit

Permalink
Update index.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Toyo committed Sep 6, 2018
1 parent fc4e373 commit ae81aac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/themes/bootstrap/index.php
Expand Up @@ -2,7 +2,7 @@
<?php
header("Content-type: text/html; charset=utf-8");
$md_path_all = $lister->getListedPath();
$suffix_array = explode('.', $_SERVER['SERVER_NAME']);
$suffix_array = explode('.', $_SERVER['HTTP_HOST']);
$suffix = end($suffix_array);
$md_path = explode($suffix, $md_path_all);
if($md_path[1] != ""){
Expand Down

0 comments on commit ae81aac

Please sign in to comment.