Commit baced8fc authored by young hahn's avatar young hahn
Browse files

Cleaner re-init'ing of paths.

parent 1c0ffae5
......@@ -13,10 +13,8 @@ function strongarm_init() {
// 'site_frontpage' is used. Note that this may be too late if other modules
// weighted even lower than strongarm (which is a superlightweight -1000)
// rely on $_GET['q'] or 'site_frontpage' in hook_init().
if (empty($_REQUEST['q'])) {
unset($_GET['q']);
$_GET['q'] = $_REQUEST['q'];
drupal_init_path();
}
}
/**
......
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