mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-07 23:22:48 +08:00
增加控制台入口文件
This commit is contained in:
20
console.php
Normal file
20
console.php
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
<?php
|
||||||
|
// +----------------------------------------------------------------------
|
||||||
|
// | ThinkPHP [ WE CAN DO IT JUST THINK IT ]
|
||||||
|
// +----------------------------------------------------------------------
|
||||||
|
// | Copyright (c) 2006-2015 http://thinkphp.cn All rights reserved.
|
||||||
|
// +----------------------------------------------------------------------
|
||||||
|
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
|
||||||
|
// +----------------------------------------------------------------------
|
||||||
|
// | Author: yunwuxin <448901948@qq.com>
|
||||||
|
// +----------------------------------------------------------------------
|
||||||
|
|
||||||
|
namespace think;
|
||||||
|
|
||||||
|
// ThinkPHP 引导文件
|
||||||
|
// 加载基础文件
|
||||||
|
require __DIR__ . '/base.php';
|
||||||
|
|
||||||
|
// 执行应用
|
||||||
|
App::initCommon();
|
||||||
|
Console::init();
|
||||||
Reference in New Issue
Block a user