Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
drupal.org
strongarm
Commits
baced8fc
Commit
baced8fc
authored
Jan 04, 2010
by
young hahn
Browse files
Cleaner re-init'ing of paths.
parent
1c0ffae5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
strongarm.module
strongarm.module
+2
-4
No files found.
strongarm.module
View file @
baced8fc
...
...
@@ -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'
]);
drupal_init_path
();
}
$_GET
[
'q'
]
=
$_REQUEST
[
'q'
];
drupal_init_path
();
}
/**
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment