Update index.php

This commit is contained in:
qkqpttgf
2020-01-02 12:58:12 +08:00
committed by GitHub
parent 2a4cbbe5fb
commit 6f9d5690b4
+1 -1
View File
@@ -4,7 +4,7 @@ include 'conststr.php';
include 'functions.php';
$theme = getConfig('theme');
if ($theme=='') $theme = 'classic.php';
if ( $theme=='' || !file_exists('theme/'.$theme) ) $theme = 'classic.php';
include 'theme/'.$theme;
//echo '<pre>'. json_encode($_SERVER, JSON_PRETTY_PRINT).'</pre>';