Commit 960f84b4 authored by webchick's avatar webchick

#569656 by c960657: Use DRUPAL_ROOT in menu_execute_active_handler().

parent 28a95295
......@@ -413,7 +413,7 @@ function menu_execute_active_handler($path = NULL) {
if ($router_item = menu_get_item($path)) {
if ($router_item['access']) {
if ($router_item['file']) {
require_once($router_item['file']);
require_once DRUPAL_ROOT . '/' . $router_item['file'];
}
return call_user_func_array($router_item['page_callback'], $router_item['page_arguments']);
}
......
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