r1548: Add an additional stop for the upgrade system in upgrade14.php that encourages...
[bugdar.git] / install / upgrade14.php
1 <?php
2 /*=====================================================================*\
3 || ###################################################################
4 || # Bugdar [#]version[#]
5 || # Copyright ©2002-[#]year[#] Blue Static
6 || #
7 || # This program is free software; you can redistribute it and/or modify
8 || # it under the terms of the GNU General Public License as published by
9 || # the Free Software Foundation; version [#]gpl[#] of the License.
10 || #
11 || # This program is distributed in the hope that it will be useful, but
12 || # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
13 || # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
14 || # more details.
15 || #
16 || # You should have received a copy of the GNU General Public License along
17 || # with this program; if not, write to the Free Software Foundation, Inc.,
18 || # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
19 || ###################################################################
20 \*=====================================================================*/
21
22 define('STOP_MARK', 2);
23 define('ACTIVE_SITE', 'upgrade14.php');
24
25 require_once('./global.php');
26 require_once('./includes/functions_datastore.php');
27
28 page_start();
29
30 // ###################################################################
31
32 if ($bugsys->in['mark'] == 0)
33 {
34 ?>
35 <h1>Welcome to Bugdar</h1>
36
37 <p>This upgrade will take from Bugdar 1.2.0 Beta 3 to Bugdar 1.2.0 Release Candidate 1.</p>
38
39 <p>To begin the process, please click the button below.</p>
40 <?php
41 }
42
43 // ###################################################################
44
45 if ($bugsys->in['mark'] == 1)
46 {
47 ?>
48 <h1>Version Number Change</h1>
49
50 <p>This step finishes the upgrade by inreasing your version number.</p>
51
52 <?php
53
54 $db->query("UPDATE " . TABLE_PREFIX . "setting SET value = '1.2.0 Release Candidate 1' WHERE varname = 'trackerversion'");
55
56 build_settings();
57
58 ?>
59
60 ... done.
61
62 <?php
63 }
64
65 // ###################################################################
66
67 else if ($bugsys->in['mark'] == 2)
68 {
69 ?>
70 <h1>Database Character Set and Collation</h1>
71 <p>Earlier versions of Bugdar did not recommend or enforce database character set support. Unless you have a very good reason not to (you should know if you do or not), it is recommended that you run <a href="convert_database_charset.php">this script</a> to convert your MySQL database from your current character set to UTF8. This should fix bugs for international users. If you have questions, please <a href="http://www.bluestatic.org">contact Blue Static</a>.</p>
72 <p>This step is not required.</p>
73 <?php
74 }
75
76 // ###################################################################
77
78 page_end();
79
80 /*=====================================================================*\
81 || ###################################################################
82 || # $HeadURL$
83 || # $Id$
84 || ###################################################################
85 \*=====================================================================*/
86 ?>