We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3414aa5 commit 1cc966fCopy full SHA for 1cc966f
lib/InitRouter.php
@@ -180,7 +180,7 @@ public function handle(): void
180
181
// Handle if no route match found
182
if ($response->getStatusCode() === 404) {
183
- // If no route found do noting and let continue.
+ // If no route found do nothing and let continue.
184
return;
185
}
186
@@ -190,6 +190,11 @@ public function handle(): void
190
// Send the response to the browser and exit app.
191
$response->send();
192
193
+ $events = GetModuleEvents('main', 'OnAfterEpilog', true);
194
+ foreach($events as $event) {
195
+ ExecuteModuleEventEx($event);
196
+ }
197
+
198
exit;
199
200
0 commit comments