3 * Nucleus: PHP/MySQL Weblog CMS (http://nucleuscms.org/)
\r
4 * Copyright (C) 2002-2009 The Nucleus Group
\r
6 * This program is free software; you can redistribute it and/or
\r
7 * modify it under the terms of the GNU General Public License
\r
8 * as published by the Free Software Foundation; either version 2
\r
9 * of the License, or (at your option) any later version.
\r
10 * (see nucleus/documentation/index.html#license for more info)
\r
13 function upgrade_do360() {
\r
15 if (upgrade_checkinstall(360))
\r
16 return 'インストール済みです';
\r
18 // Give user warning if they are running old version of PHP
\r
19 if (phpversion() < '5') {
\r
20 echo '警告:サーバで稼動しているPHPのバージョンが、NucleusCMSの動作保障外の古いバージョンのようです。PHP5以上にアップグレードしてください!';
\r
23 // changing the blog table to lengthen bnotify field
\r
24 $query = " ALTER TABLE `" . sql_table('blog') . "`
\r
25 MODIFY `bnotify` varchar(128) default NULL ;";
\r
27 upgrade_query('Altering ' . sql_table('blog') . ' table', $query);
\r
30 // update database version
\r
31 update_version('360');
\r
33 // Remind user to re-install NP_Ping
\r
34 // Remind user to re-install NP_Ping
\r
35 echo '<p>注意: バージョン3.50よりNP_Pingに変更があるので、使用中の方は管理画面より再インストールしてください。</p>';
\r