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