Fix
This commit is contained in:
parent
94bff78fb8
commit
2deed9cc73
|
@ -19,7 +19,7 @@
|
|||
"delight-im/auth": "^8.3.0",
|
||||
"ulrichsg/getopt-php": "^4.0.0",
|
||||
"nikic/fast-route": "^2.0@dev",
|
||||
"spatie/array-to-xml": "3.0.0",
|
||||
"spatie/array-to-xml": "^2.16",
|
||||
"ezyang/htmlpurifier": "^4.13",
|
||||
"brick/phonenumber": "^0.2.2",
|
||||
"sentry/sdk": "^3.1",
|
||||
|
|
|
@ -97,18 +97,20 @@ if (file_exists('../vendor/autoload.php')) {
|
|||
try {
|
||||
include '../vendor/autoload.php';
|
||||
} catch (Exception $e) {
|
||||
echo("Please install composer and run composer install (".$e.")");
|
||||
if(is_cli()) {
|
||||
echo($e);
|
||||
exit(1);
|
||||
} else {
|
||||
exit();
|
||||
}
|
||||
die("Please install composer and run composer install (".$e);
|
||||
}
|
||||
} else {
|
||||
echo("Please install composer and run composer install");
|
||||
if(is_cli()) {
|
||||
echo($e);
|
||||
exit(1);
|
||||
} else {
|
||||
exit();
|
||||
}
|
||||
die("Please install composer and run composer install");
|
||||
}
|
||||
|
||||
function checkConnection($host, $user, $password, $database, $return=false)
|
||||
|
|
Loading…
Reference in New Issue