diff options
Diffstat (limited to 'public')
-rw-r--r-- | public/.htaccess | 1 | ||||
-rw-r--r-- | public/index.php | 3 |
2 files changed, 1 insertions, 3 deletions
diff --git a/public/.htaccess b/public/.htaccess index c9d40187..2b1d3a7a 100644 --- a/public/.htaccess +++ b/public/.htaccess @@ -1,3 +1,4 @@ + <IfModule mod_rewrite.c> RewriteEngine on diff --git a/public/index.php b/public/index.php index b44e1491..c65dbdf8 100644 --- a/public/index.php +++ b/public/index.php @@ -1,7 +1,5 @@ <?php -use Engelsystem\Http\Request; - require_once realpath(__DIR__ . '/../includes/engelsystem_provider.php'); $free_pages = [ @@ -27,7 +25,6 @@ $page = ''; $title = ''; $content = ''; -/** @var Request $request */ $page = $request->query->get('p'); if (empty($page)) { $page = $request->path(); |