34 lines
752 B
PHP
34 lines
752 B
PHP
|
<?php
|
||
|
defined('IN_MET') or exit ('No permission');
|
||
|
|
||
|
load::sys_class('admin');
|
||
|
|
||
|
class index extends admin
|
||
|
{
|
||
|
|
||
|
public function __construct()
|
||
|
{
|
||
|
global $_M;
|
||
|
parent::__construct();
|
||
|
ini_set("display_errors", "On");
|
||
|
error_reporting(E_ALL & ~E_NOTICE);
|
||
|
// 执行需要移动的文件处理
|
||
|
deldir('cache/templates');
|
||
|
// html样式
|
||
|
|
||
|
$_M['html_class'] = 'no-js css-menubar';
|
||
|
$_M['body_class'] = 'animsition site-navbar-small dashboard';
|
||
|
}
|
||
|
|
||
|
//应用入口
|
||
|
public function doindex()
|
||
|
{
|
||
|
global $_M;
|
||
|
$sys_json = parent::sys_json();
|
||
|
$data =array_merge([],$sys_json);
|
||
|
$this->view('app/index',$data);
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|
||
|
?>
|