mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 12:42:48 +08:00
Create类更名为Build
This commit is contained in:
@@ -8,15 +8,14 @@
|
||||
// +----------------------------------------------------------------------
|
||||
// | Author: liu21st <liu21st@gmail.com>
|
||||
// +----------------------------------------------------------------------
|
||||
|
||||
namespace think;
|
||||
|
||||
class Create
|
||||
class Build
|
||||
{
|
||||
public static function build($build)
|
||||
public static function run($build)
|
||||
{
|
||||
// 锁定
|
||||
$lockfile = APP_PATH . 'create.lock';
|
||||
$lockfile = APP_PATH . 'build.lock';
|
||||
if (is_writable($lockfile)) {
|
||||
return;
|
||||
} else {
|
||||
@@ -20,11 +20,11 @@ return [
|
||||
// 别名定义
|
||||
'alias' => [
|
||||
'think\App' => CORE_PATH . 'app' . EXT,
|
||||
'think\Build' => CORE_PATH . 'build' . EXT,
|
||||
'think\Cache' => CORE_PATH . 'cache' . EXT,
|
||||
'think\Config' => CORE_PATH . 'config' . EXT,
|
||||
'think\Controller' => CORE_PATH . 'controller' . EXT,
|
||||
'think\Cookie' => CORE_PATH . 'cookie' . EXT,
|
||||
'think\Create' => CORE_PATH . 'create' . EXT,
|
||||
'think\Db' => CORE_PATH . 'db' . EXT,
|
||||
'think\Debug' => CORE_PATH . 'debug' . EXT,
|
||||
'think\Error' => CORE_PATH . 'error' . EXT,
|
||||
|
||||
Reference in New Issue
Block a user