php /*---------------------------------------------------+ | PHP-Fusion 6 Content Management System +----------------------------------------------------+ | Copyright (c) 2005 Nick Jones | http://www.php-fusion.co.uk/ +----------------------------------------------------+ | Released under the terms & conditions of v2 of the | GNU General Public License. For details refer to | the included gpl.txt file or visit http://gnu.org +----------------------------------------------------*/ require_once "../maincore.php"; require_once BASEDIR."subheader.php"; require_once ADMIN."navigation.php"; if (!checkrights("U")) fallback("../index.php"); opentable("Upgrade"); if (str_replace(",","",$settings['version']) < "60110") { if (!isset($_POST['stage'])) { echo "
A minor database upgrade is available for this installation of PHP-Fusion.
Simply click Upgrade to update your system.

n"; } if (isset($_POST['stage']) && $_POST['stage'] == 2) { if (isset($_POST['upgrade'])) { $result = dbquery("UPDATE ".$db_prefix."settings SET version='6.01.10'"); echo "

nDatabase upgrade complete.

n
n"; } } } else { echo "

nThere is no database upgrade available.

n
n"; } closetable(); echo "n"; require_once BASEDIR."footer.php";