Update index.php

pull/13/head
qkqpttgf 2020-01-02 12:58:12 +08:00 committed by GitHub
parent 2a4cbbe5fb
commit 6f9d5690b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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>';