Various fixes

* Fixed the init command not being registered
* pdoshell: Improved configuration handling
This commit is contained in:
2022-02-08 01:45:55 +01:00
parent 7c4ca953f6
commit 7e04b6c001
3 changed files with 210 additions and 4 deletions
+3 -1
View File
@@ -48,7 +48,9 @@ class SparkApplication extends Application
if (getenv("SPARK_PLUGINS")) {
$this->add(new Commands\PluginsCommand());
}
} else {
}
if (!is_dir(getcwd()."/.spark")) {
$this->add(new Commands\InitCommand());
}