From ea73090084023d4e18b68f5010c2eae2fa6e9f7f Mon Sep 17 00:00:00 2001 From: ben Date: Wed, 29 Oct 2008 13:40:30 +0000 Subject: Visual upgrader. git-svn-id: https://code.elgg.org/elgg/trunk@2345 36083f99-b078-4883-b0ff-0f9b5a30f544 --- upgrade.php | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'upgrade.php') diff --git a/upgrade.php b/upgrade.php index ba979f89f..f453cd0ea 100644 --- a/upgrade.php +++ b/upgrade.php @@ -14,10 +14,15 @@ */ // Include elgg engine - require_once(dirname(__FILE__) . "/engine/start.php"); - - if (version_upgrade_check()) { - version_upgrade(); + require_once(dirname(__FILE__) . "/engine/start.php"); + + if (get_input('upgrade') == 'upgrade') { + if (version_upgrade_check()) { + version_upgrade(); + } + } else { + global $CONFIG; + echo elgg_view('settings/upgrading'); } forward(); -- cgit v1.2.3