File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -18,11 +18,16 @@ protected function configure() {
1818
1919
2020 protected function execute (InputInterface $ input , OutputInterface $ output ) {
21+ $ output ->writeln ("<info>Leaf interactive shell activated</info> " );
22+
2123 if (file_exists ("vendor/autoload.php " )) require "vendor/autoload.php " ;
2224 if (file_exists ("Config/bootstrap.php " )) require "Config/bootstrap.php " ;
2325 if (file_exists ("index.php " ) && !file_exists ("leaf " )) require "index.php " ;
26+
27+ if (!file_exists ("vendor/autoload.php " ) && !file_exists ("Config/bootstrap.php " ) && (file_exists ("index.php " ) && file_exists ("leaf " ))) {
28+ $ output ->writeln ("<info>Required files not found, starting shell running in retard mode...</info> " );
29+ }
2430
25- $ output ->writeln ("<info>Leaf interactive shell activated</info> " );
2631 $ shell = new Shell ();
2732 $ output ->write ($ shell ->run ());
2833 }
You can’t perform that action at this time.
0 commit comments