3 * Nucleus: PHP/MySQL Weblog CMS (http://nucleuscms.org/)
4 * Copyright (C) 2002-2007 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)
12 * $Id: upgrade.php,v 1.6 2007-04-10 03:55:20 kmorimatsu Exp $
13 * $NucleusJP: upgrade.php,v 1.5 2007/02/04 06:28:46 kimitake Exp $
16 include('upgrade.functions.php');
18 // check if logged in etc
19 if (!$member->isLoggedIn()) {
20 upgrade_showLogin('upgrade.php?from=' . intGetVar('from'));
23 if (!$member->isAdmin()) {
24 upgrade_error('Only Super-Admins are allowed to perform upgrades');
27 include('upgrade0.95.php');
28 include('upgrade0.96.php');
29 include('upgrade1.0.php');
30 include('upgrade1.1.php');
31 include('upgrade1.5.php');
32 include('upgrade2.0.php');
33 include('upgrade2.5.php');
34 include('upgrade3.0.php');
35 include('upgrade3.1.php');
36 include('upgrade3.2.php');
37 include('upgrade3.3.php');
39 $from = intGetVar('from');
67 echo "<li>エラー! 実行すべきアップデートはありません</li>";
73 upgrade_end("アップグレード成功");