Commit 3efa54d6 authored by Nigel McNie's avatar Nigel McNie Committed by Nigel McNie
Browse files

Don't try and generate a site menu if we are not installed. Mr. installer

gets ANGRY
parent 2bb952b2
......@@ -170,7 +170,9 @@ EOF;
$smarty->compile_dir = get_config('dataroot').'smarty/compile';
$smarty->cache_dir = get_config('dataroot').'smarty/cache';
$smarty->assign('SITEMENU', site_menu());
if (get_config('installed')) {
$smarty->assign('SITEMENU', site_menu());
}
$smarty->assign('THEMEURL', get_config('themeurl'));
$smarty->assign('WWWROOT', $wwwroot);
......
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