]> src.bluestatic.org Git - bugdar.git/blob - install/upgrade4.php
r1375: - Fix a SQL error on admin/user.php when adding a new user (bug://report/63)
[bugdar.git] / install / upgrade4.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', 1);
23 define('ACTIVE_SITE', 'upgrade4.php');
24
25 require_once('./global.php');
26
27 page_start();
28
29 // ###################################################################
30
31 if ($bugsys->in['mark'] == 0)
32 {
33 ?>
34 <h1>Welcome to Bugdar</h1>
35
36 <p>This upgrade will take from Bugdar 1.1.0 Beta 2 to Bugdar 1.1.0 Release Candidate 1.</p>
37
38 <p>Not much has to be done, we just need to bump your version number.</p>
39
40 <p>To begin the process, please click the button below.</p>
41 <?php
42 }
43
44 // ###################################################################
45
46 if ($bugsys->in['mark'] == 1)
47 {
48 ?>
49 <h1>Version Number Change</h1>
50
51 <p>This step finishes the upgrade by inreasing your version number.</p>
52
53 <?php
54
55 require_once('./includes/settings.php');
56
57 $db->query("UPDATE " . TABLE_PREFIX . "setting SET value = '1.1.0 Release Candidate 1' WHERE varname = 'trackerversion'");
58
59 build_settings();
60
61 ?>
62
63 ... done.
64
65 <?php
66 }
67
68 // ###################################################################
69
70 page_end();
71
72 /*=====================================================================*\
73 || ###################################################################
74 || # $HeadURL$
75 || # $Id$
76 || ###################################################################
77 \*=====================================================================*/
78 ?>