3 * Nucleus: PHP/MySQL Weblog CMS (http://nucleuscms.org/)
4 * Copyright (C) 2002-2009 The Nucleus Group
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License
8 * as published by the Free Software Foundation; either version 2
9 * of the License, or (at your option) any later version.
10 * (see nucleus/documentation/index.html#license for more info)
13 * @license http://nucleuscms.org/license.txt GNU General Public License
14 * @copyright Copyright (C) 2002-2009 The Nucleus Group
15 * @version $Id: upgrade.php 1447 2010-07-26 18:20:53Z ftruscot $
18 include('./upgrade.functions.php');
20 // check if logged in etc
21 if ( !$member->isLoggedIn() )
23 upgrade_showLogin('upgrade.php?from=' . intGetVar('from'));
26 if ( !$member->isAdmin() )
28 upgrade_error('Only Super-Admins are allowed to perform upgrades');
31 include('upgrade0.95.php');
32 include('upgrade0.96.php');
33 include('upgrade1.0.php');
34 include('upgrade1.1.php');
35 include('upgrade1.5.php');
36 include('upgrade2.0.php');
37 include('upgrade2.5.php');
38 include('upgrade3.0.php');
39 include('upgrade3.1.php');
40 include('upgrade3.2.php');
41 include('upgrade3.3.php');
42 include('upgrade3.4.php');
43 include('upgrade3.5.php');
44 include('upgrade3.6.php');
46 $from = intGetVar('from');
84 echo "<li>Error! No updates to execute</li>";
88 upgrade_end("Upgrade Completed");