3 * Nucleus: PHP/MySQL Weblog CMS (http://nucleuscms.org/)
4 * Copyright (C) 2002-2012 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 include('upgrade.functions.php');
15 // check if logged in etc
16 if (!$member->isLoggedIn()) {
17 upgrade_showLogin('upgrade.php?from=' . intGetVar('from'));
20 if (!$member->isAdmin()) {
21 upgrade_error('Super-admin(最高管理者)のみがアップグレードを実行できます。');
24 include('upgrade0.95.php');
25 include('upgrade0.96.php');
26 include('upgrade1.0.php');
27 include('upgrade1.1.php');
28 include('upgrade1.5.php');
29 include('upgrade2.0.php');
30 include('upgrade2.5.php');
31 include('upgrade3.0.php');
32 include('upgrade3.1.php');
33 include('upgrade3.2.php');
34 include('upgrade3.3.php');
35 include('upgrade3.31.php');
36 include('upgrade3.4.php');
37 include('upgrade3.5.php');
38 include('upgrade3.6.php');
40 $from = intGetVar('from');
81 echo "<li>エラー! 実行すべきアップデートはありません</li>";
87 upgrade_end("アップグレード成功");