From c82467c1c0e354871197e99ffa7f94ac6997f40d Mon Sep 17 00:00:00 2001 From: I Am I <31686695+5ime@users.noreply.github.com> Date: Thu, 6 Jan 2022 23:36:54 +0800 Subject: [PATCH] Create think --- think | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 think diff --git a/think b/think new file mode 100644 index 0000000..6a923b3 --- /dev/null +++ b/think @@ -0,0 +1,22 @@ +#!/usr/bin/env php + +// +---------------------------------------------------------------------- + +namespace think; + +// 加载基础文件 +require __DIR__ . '/thinkphp/base.php'; + +// 应用初始化 +Container::get('app')->path(__DIR__ . '/application/')->initialize(); + +// 控制台初始化 +Console::init(); \ No newline at end of file