From 79e5113e1298a21bb30035f710d8e00a765ba3e7 Mon Sep 17 00:00:00 2001 From: Daniel Drexlmaier Date: Mon, 27 May 2019 15:28:08 +0200 Subject: [PATCH] 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;