Commit 958af5f6 authored by mikeytown2's avatar mikeytown2

#928200 load file from the menu_router table.

parent 2554af7a
......@@ -4801,6 +4801,12 @@ function _boost_get_menu_router($path = NULL, $get_array = NULL, $reset = FALSE)
$router_item['page_arguments'] = array($router_item['page_arguments']);
}
// Make sure function for menu callback is loaded.
// See menu_execute_active_handler()
if ($router_item['file']) {
require_once($router_item['file']);
}
// Invoke hook_boost_menu_router($router_item)
$modules = module_implements('boost_menu_router');
// Make boosts built in hook the last one.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment