mirror of
https://gitee.com/zongzhige/shopxo.git
synced 2026-06-07 02:12:25 +08:00
优化后台管理地址
This commit is contained in:
26
admin.php
Normal file
26
admin.php
Normal file
@ -0,0 +1,26 @@
|
||||
<?php
|
||||
// +----------------------------------------------------------------------
|
||||
// | ShopXO 国内领先企业级B2C免费开源电商系统
|
||||
// +----------------------------------------------------------------------
|
||||
// | Copyright (c) 2011~2019 http://shopxo.net All rights reserved.
|
||||
// +----------------------------------------------------------------------
|
||||
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
|
||||
// +----------------------------------------------------------------------
|
||||
// | Author: Devil
|
||||
// +----------------------------------------------------------------------
|
||||
|
||||
// [ 后台入口文件 ]
|
||||
namespace think;
|
||||
|
||||
// 加载基础文件
|
||||
require __DIR__ . '/thinkphp/base.php';
|
||||
|
||||
// 根目录入口
|
||||
define('IS_ROOT_ACCESS', true);
|
||||
|
||||
// 引入公共入口文件
|
||||
require __DIR__.'/public/core.php';
|
||||
|
||||
// 执行应用并响应
|
||||
Container::get('app')->bind('admin')->run()->send();
|
||||
?>
|
||||
Reference in New Issue
Block a user