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
16 * $NucleusJP: upgrade.php,v 1.7 2007/04/26 06:20:19 kimitake Exp $
19 include('upgrade.functions.php');
21 // check if logged in etc
22 if (!$member->isLoggedIn()) {
23 upgrade_showLogin('upgrade.php?from=' . intGetVar('from'));
26 if (!$member->isAdmin()) {
27 upgrade_error('Super-admin(最高管理者)のみがアップグレードを実行できます。');
30 include('upgrade0.95.php');
31 include('upgrade0.96.php');
32 include('upgrade1.0.php');
33 include('upgrade1.1.php');
34 include('upgrade1.5.php');
35 include('upgrade2.0.php');
36 include('upgrade2.5.php');
37 include('upgrade3.0.php');
38 include('upgrade3.1.php');
39 include('upgrade3.2.php');
40 include('upgrade3.3.php');
41 include('upgrade3.31.php');
42 include('upgrade3.4.php');
44 $from = intGetVar('from');
79 echo "<li>エラー! 実行すべきアップデートはありません</li>";
85 upgrade_end("アップグレード成功");