Update index.php
parent
2a4cbbe5fb
commit
6f9d5690b4
|
@ -4,7 +4,7 @@ include 'conststr.php';
|
||||||
include 'functions.php';
|
include 'functions.php';
|
||||||
|
|
||||||
$theme = getConfig('theme');
|
$theme = getConfig('theme');
|
||||||
if ($theme=='') $theme = 'classic.php';
|
if ( $theme=='' || !file_exists('theme/'.$theme) ) $theme = 'classic.php';
|
||||||
include 'theme/'.$theme;
|
include 'theme/'.$theme;
|
||||||
|
|
||||||
//echo '<pre>'. json_encode($_SERVER, JSON_PRETTY_PRINT).'</pre>';
|
//echo '<pre>'. json_encode($_SERVER, JSON_PRETTY_PRINT).'</pre>';
|
||||||
|
|
Loading…
Reference in New Issue