改名
This commit is contained in:
@@ -57,7 +57,6 @@ class ServerManager
|
|||||||
* @param int $port
|
* @param int $port
|
||||||
* @param int $mode
|
* @param int $mode
|
||||||
* @param array $settings
|
* @param array $settings
|
||||||
* @throws NotFindClassException
|
|
||||||
* @throws ReflectionException
|
* @throws ReflectionException
|
||||||
* @throws ConfigException
|
* @throws ConfigException
|
||||||
* @throws Exception
|
* @throws Exception
|
||||||
|
|||||||
@@ -168,6 +168,8 @@ class Application extends BaseApplication
|
|||||||
public function execute(Input $argv): void
|
public function execute(Input $argv): void
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
|
$this->register(Runtime::class);
|
||||||
|
|
||||||
$manager = Kiri::app()->get('console');
|
$manager = Kiri::app()->get('console');
|
||||||
$class = $manager->setParameters($argv)->search();
|
$class = $manager->setParameters($argv)->search();
|
||||||
|
|
||||||
@@ -189,7 +191,6 @@ class Application extends BaseApplication
|
|||||||
*/
|
*/
|
||||||
private function enableFileChange($class): void
|
private function enableFileChange($class): void
|
||||||
{
|
{
|
||||||
$this->register(Runtime::class);
|
|
||||||
if (env('enableFileChange', 'off') == 'off' || !($class instanceof Server)) {
|
if (env('enableFileChange', 'off') == 'off' || !($class instanceof Server)) {
|
||||||
scan_directory(directory('app'), 'App');
|
scan_directory(directory('app'), 'App');
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user