Skip to content

Commit

Permalink
Adding hook option for a mod to set the default front page.
Browse files Browse the repository at this point in the history
  • Loading branch information
ichbin committed Jun 16, 2013
1 parent a339ae3 commit ca9d04c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sources/Dispatcher.class.php
Original file line number Diff line number Diff line change
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 ca9d04c

Please sign in to comment.