diff options
author | Daniel Weipert <code@drogueronin.de> | 2022-03-06 01:07:59 +0100 |
---|---|---|
committer | Daniel Weipert <code@drogueronin.de> | 2022-03-06 01:07:59 +0100 |
commit | ad83d1dafac62bb28fda004f86129319a5c3e2ca (patch) | |
tree | dcf119ae4159dcd13c5c3651e54b92e3f7cd4f80 /src/App.php | |
parent | b2a86c7df7d5a473e80034832a01b21444fa50e6 (diff) |
Refactor fixes
Diffstat (limited to 'src/App.php')
-rw-r--r-- | src/App.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/App.php b/src/App.php index 15be58b..5fc62fa 100644 --- a/src/App.php +++ b/src/App.php @@ -20,6 +20,11 @@ class App */ public function __construct() { + /**@var HookManager $hooks*/ + global $hooks; + + $hooks->doAction('init'); + $request = Request::createFromGlobals(); $response = new Response(); @@ -64,7 +69,7 @@ class App $entriesController = new EntriesController(); - $content = $entriesController->getEntries(); + $content = $entriesController->getEntries($formPath); } else { |