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;