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

Workaround for early bootstrap check of 'site_frontpage' variable.

parent a2a28af6
......@@ -6,6 +6,17 @@
function strongarm_init() {
// This is a workaround for the very early check of the 'site_frontpage'
// variable in the Drupal bootstrap process. The workaround re-runs
// drupal_init_path() to ensure the strongarm'ed version of
// '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'])) {
Supports Markdown
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