mirror of
https://gitee.com/zongzhige/shopxo.git
synced 2024-12-05 05:19:21 +08:00
22 lines
819 B
Plaintext
22 lines
819 B
Plaintext
|
#!/usr/bin/env php
|
||
|
<?php
|
||
|
// +----------------------------------------------------------------------
|
||
|
// | ShopXO 国内领先企业级B2C免费开源电商系统
|
||
|
// +----------------------------------------------------------------------
|
||
|
// | Copyright (c) 2011~2018 http://shopxo.net All rights reserved.
|
||
|
// +----------------------------------------------------------------------
|
||
|
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
|
||
|
// +----------------------------------------------------------------------
|
||
|
// | Author: Devil
|
||
|
// +----------------------------------------------------------------------
|
||
|
|
||
|
namespace think;
|
||
|
|
||
|
// 加载基础文件
|
||
|
require __DIR__ . '/thinkphp/base.php';
|
||
|
|
||
|
// 应用初始化
|
||
|
Container::get('app')->path(__DIR__ . '/application/')->initialize();
|
||
|
|
||
|
// 控制台初始化
|
||
|
Console::init();
|