Housekeeping
This commit is contained in:
parent
de7293398e
commit
3136b37d61
2 changed files with 6 additions and 4 deletions
|
|
@ -1,4 +1,5 @@
|
|||
<?php
|
||||
|
||||
$autoloadersThatMayExist = [
|
||||
'/app/vendor/autoload.php',
|
||||
'/app/bootstrap.php',
|
||||
|
|
@ -6,8 +7,8 @@ $autoloadersThatMayExist = [
|
|||
|
||||
$defaultIncludes = [];
|
||||
|
||||
foreach($autoloadersThatMayExist as $autoloader){
|
||||
if(file_exists($autoloader)){
|
||||
foreach ($autoloadersThatMayExist as $autoloader) {
|
||||
if (file_exists($autoloader)) {
|
||||
$defaultIncludes[] = $autoloader;
|
||||
}
|
||||
}
|
||||
|
|
@ -16,11 +17,11 @@ $animals = ['🐟', '🐁', '🐄', '🐆', '🐉', '🐍', '🐌', '🐋', '
|
|||
|
||||
return [
|
||||
'commands' => [
|
||||
new \Psy\Command\ParseCommand,
|
||||
new \Psy\Command\ParseCommand(),
|
||||
],
|
||||
'defaultIncludes' => $defaultIncludes,
|
||||
'startupMessage' => sprintf('You are on <error>%s</error> Uptime: <info>%s</info>', trim(shell_exec('hostname')), trim(shell_exec('uptime -p'))),
|
||||
//'prompt' => $animals[array_rand($animals)],
|
||||
'updateCheck' => 'never',
|
||||
'useBracketedPaste' => true
|
||||
];
|
||||
];
|
||||
|
|
|
|||
|
|
@ -1,2 +1,3 @@
|
|||
<?php
|
||||
|
||||
phpinfo();
|
||||
|
|
|
|||
Loading…
Reference in a new issue