summaryrefslogtreecommitdiff
path: root/includes/engelsystem_provider.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/engelsystem_provider.php')
-rw-r--r--includes/engelsystem_provider.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/includes/engelsystem_provider.php b/includes/engelsystem_provider.php
index a818e4cd..edfae705 100644
--- a/includes/engelsystem_provider.php
+++ b/includes/engelsystem_provider.php
@@ -3,6 +3,7 @@
use Engelsystem\Config\Config;
use Engelsystem\Database\Db;
use Engelsystem\Exceptions\Handler as ExceptionHandler;
+use Engelsystem\Http\Request;
/**
* This file includes all needed functions, connects to the db etc.
@@ -32,6 +33,13 @@ date_default_timezone_set($config->get('timezone'));
/**
+ * Initialize Request
+ */
+$request = new Request();
+$request->create();
+$request::setInstance($request);
+
+/**
* Check for maintenance
*/
if ($config->get('maintenance')) {