增加 手机电脑独立壁纸
This commit is contained in:
parent
ebc0e80069
commit
73cc78c9ef
|
@ -4,7 +4,7 @@ define('IN_CRONLITE', true);
|
|||
define('SYS_KEY', 'lylme_key');
|
||||
define('SYSTEM_ROOT', dirname(__FILE__).'/');
|
||||
define('ROOT', dirname(SYSTEM_ROOT).'/');
|
||||
//error_reporting(E_ALL ^ E_NOTICE);
|
||||
error_reporting(0);
|
||||
require ROOT.'config.php';
|
||||
if(!defined('SQLITE') && (!$dbconfig['user']||!$dbconfig['pwd']||!$dbconfig['dbname']))
|
||||
{
|
||||
|
|
|
@ -88,11 +88,7 @@ function siteurl() {
|
|||
$background = $conf["background"];
|
||||
//网站背景
|
||||
function background() {
|
||||
if (empty($GLOBALS['background'])) {
|
||||
if (file_exists(ROOT.'assets/img/background.jpg'))return '../assets/img/background.jpg'; else return '../assets/img/bing.php';
|
||||
} else {
|
||||
return $GLOBALS['background'];
|
||||
}
|
||||
return $GLOBALS['background_img'];
|
||||
}
|
||||
//程序更新
|
||||
function update() {
|
||||
|
|
Loading…
Reference in New Issue