Skip to content

Commit

Permalink
После обработки роута исполняется событие OnAfterEpilog
Browse files Browse the repository at this point in the history
  • Loading branch information
ProklUng committed Aug 16, 2021
1 parent c8b2d4b commit 11fdc47
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Services/Router/InitRouter.php
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,11 @@ public function handle(): void
// Send the response to the browser and exit app.
$response->send();

$events = GetModuleEvents('main', 'OnAfterEpilog', true);
foreach($events as $event) {
ExecuteModuleEventEx($event);
}

exit;
}

Expand Down

0 comments on commit 11fdc47

Please sign in to comment.