Skip to content

Commit 738b916

Browse files
committed
refactor: for run command
1 parent 45b98c8 commit 738b916

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

framework/Application.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,12 @@ public function loadDotEnv() {
252252
* @param array $argv
253253
*/
254254
public function runConsoleCommand($argv) {
255+
$this->loadHelpers();
256+
$this->loadDotEnv();
257+
$this->loadAppConfig();
258+
$this->setDefaultTimezone();
259+
$this->registerErrorHandler();
260+
$this->registerShutdownHandler();
255261
Command::run($argv);
256262
}
257-
258263
}

0 commit comments

Comments
 (0)