Update init.php

This commit is contained in:
Daniel Drexlmaier
2019-05-27 15:28:08 +02:00
committed by GitHub
parent 35e14fde14
commit 79e5113e12

View File

@@ -16,6 +16,10 @@
* @package System * @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'; require dirname(__DIR__) . '/vendor/autoload.php';
use Froxlor\Database\Database; use Froxlor\Database\Database;