mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
[ticket/13070] Adjust template hook name to match that provided in the class.
PHPBB3-13070
This commit is contained in:
parent
afada9ed40
commit
b9b15b7007
1 changed files with 1 additions and 1 deletions
|
@ -104,7 +104,7 @@ require($phpbb_root_path . 'includes/compatibility_globals.' . $phpEx);
|
||||||
|
|
||||||
// Add own hook handler
|
// Add own hook handler
|
||||||
require($phpbb_root_path . 'includes/hooks/index.' . $phpEx);
|
require($phpbb_root_path . 'includes/hooks/index.' . $phpEx);
|
||||||
$phpbb_hook = new phpbb_hook(array('exit_handler', 'phpbb_user_session_handler', 'append_sid', array('\phpbb\template\template', 'display')));
|
$phpbb_hook = new phpbb_hook(array('exit_handler', 'phpbb_user_session_handler', 'append_sid', array('template', 'display')));
|
||||||
$phpbb_hook_finder = $phpbb_container->get('hook_finder');
|
$phpbb_hook_finder = $phpbb_container->get('hook_finder');
|
||||||
|
|
||||||
foreach ($phpbb_hook_finder->find() as $hook)
|
foreach ($phpbb_hook_finder->find() as $hook)
|
||||||
|
|
Loading…
Add table
Reference in a new issue