Skip to content

Commit

Permalink
Merge pull request #537 from IchBin/master
Browse files Browse the repository at this point in the history
Adding hook for mod to set its own front page.
  • Loading branch information
norv committed Jun 16, 2013
2 parents a339ae3 + ca9d04c commit 491748c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sources/Dispatcher.class.php
Expand Up @@ -94,7 +94,8 @@ public function __construct()
// home page: board index
if (empty($board) && empty($topic))
{
// @todo Unless we have a custom home page registered...
// Reminder: hooks need to account for multiple mods setting this hook.
call_integration_hook('integrate_frontpage', array(&$default_action));

// was it, wasn't it....
if (empty($this->_function_name))
Expand Down

0 comments on commit 491748c

Please sign in to comment.