Commit 1114045a authored by Nigel McNie's avatar Nigel McNie Committed by Nigel McNie
Browse files

Fixed up whitespace. Added template hook.

parent c58b2f04
......@@ -28,17 +28,19 @@ define('INTERNAL',1);
require(dirname(dirname(__FILE__)).'/init.php');
$smarty = &smarty();
$smarty = smarty();
$upgrades = check_upgrades();
if (isset($upgrades['core']) && !empty($upgrades['core']->install)) {
$smarty->assign('installing',true);
$smarty->assign('releaseargs',array($upgrades['core']->torelease,$upgrades['core']->to));
$smarty->assign('installing', true);
$smarty->assign('releaseargs', array($upgrades['core']->torelease,$upgrades['core']->to));
$smarty->display('admin/installgpl.tpl');
exit;
}
// normal admin page starts here
?>
\ No newline at end of file
$smarty->display('admin/index.tpl');
?>
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