-
Warning: array_merge()
-
-
[function.array-merge]: Argument #2 is not an array in E:\*\pload\source\core\library\static.assemble.php on line 34
static.assemble.php 代码如下
<?php
/**
* [OECMS] (C)2012-2099 OEdev,Inc.
* <E-Mail:phpcoo@qq.com>
* Url www.oedev.net, www.phpcoo.com
* Update 2013.02.05
*/
if(!defined('IN_OECMS')) {
exit('Access Denied');
}
class XAssemble extends X{
public static function __init() {
self::_initConfig();
}
private static function _initConfig () {
parent::loadLib('option');
$nonce_templet = XOption::get('nonce_templet');
$site_base = XOption::get('site_base');
$site_footer = XOption::get('site_footer');
$index_style = XOption::get('index_style');
$main_style = XOPtion::get('main_style');
$rewrite_config = XOption::get('site_rewrite');
if (!empty($site_base['logo'])) {
$site_base['logo'] = self:[s:8]urlpath.$site_base['logo'];
}
$array = array();
$array = array_merge($array, $site_base, $index_style,
$main_style, $rewrite_config,
array(
'site_footer'=>$site_footer,
'templet'=>$nonce_templet,
)
);
parent:[s:8]tplpath = parent:[s:8]tplpath.$array['templet'].'/';
parent:[s:8]skinpath = parent:[s:8]urlpath.parent:[s:8]tplpath;
parent:[s:8]cfg = $array;
unset($array);
}
}
?>
对比过原文件。是一样,打开前台和后台都出现这个警告。怎么解?
-
2787 次浏览
0 条评论
收藏
作者信息
-
关注
-
试
免费试用
-
咨询热线
-
咨询热线
020-82299 259
-
在线咨询