From 79e5113e1298a21bb30035f710d8e00a765ba3e7 Mon Sep 17 00:00:00 2001 From: Daniel Drexlmaier Date: Mon, 27 May 2019 15:28:08 +0200 Subject: [PATCH 1/2] Update init.php --- lib/init.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/init.php b/lib/init.php index 2e57aa1c..7d474ad4 100644 --- a/lib/init.php +++ b/lib/init.php @@ -16,6 +16,10 @@ * @package System * */ +if(!file_exists(dirname(__DIR__) . '/vendor/autoload.php')){ + die('Vendor does not exist. Please run "Composer install". For more informationen https://github.com/Froxlor/Froxlor/wiki'); +} + require dirname(__DIR__) . '/vendor/autoload.php'; use Froxlor\Database\Database; From fb87129e294d510538e67bb5e7a995b3c773505f Mon Sep 17 00:00:00 2001 From: Daniel Drexlmaier Date: Mon, 27 May 2019 15:46:39 +0200 Subject: [PATCH 2/2] Update init.php --- lib/init.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/init.php b/lib/init.php index 7d474ad4..bec161f6 100644 --- a/lib/init.php +++ b/lib/init.php @@ -17,7 +17,7 @@ * */ if(!file_exists(dirname(__DIR__) . '/vendor/autoload.php')){ - die('Vendor does not exist. Please run "Composer install". For more informationen https://github.com/Froxlor/Froxlor/wiki'); + die('Vendor does not exist. Please run "composer install". For more informationen https://github.com/Froxlor/Froxlor/wiki'); } require dirname(__DIR__) . '/vendor/autoload.php';