2 /*=====================================================================*\
3 || ###################################################################
4 || # Bugdar [#]version[#]
5 || # Copyright ©2002-[#]year[#] Blue Static
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.
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
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 \*=====================================================================*/
22 define('STOP_MARK', 2);
23 define('ACTIVE_SITE', 'upgrade9.php');
25 require_once('./global.php');
26 require_once('./includes/functions_datastore.php');
30 // ###################################################################
32 if ($bugsys->in
['mark'] == 0)
35 <h1
>Welcome to Bugdar
</h1
>
37 <p
>This upgrade will take from Bugdar
1.1.3 to Bugdar
1.1.4.</p
>
39 <p
>To begin the process
, please click the button below
.</p
>
43 // ###################################################################
45 if ($bugsys->in
['mark'] == 1)
48 <h1
>Schema Changes
</h1
>
50 <p
>Changing the storage type of the time zone field from
INT to
FLOAT to fix a bug
.</p
>
53 $db->query("ALTER TABLE " . TABLE_PREFIX
. "user CHANGE timezone timezone float(4) NOT NULL DEFAULT 0");
55 echo "... done<br />\n";
58 // ###################################################################
60 if ($bugsys->in
['mark'] == 2)
63 <h1
>Version Number Change
</h1
>
65 <p
>This step finishes the upgrade by inreasing your version number
.</p
>
69 $db->query("UPDATE " . TABLE_PREFIX
. "setting SET value = '1.1.4' WHERE varname = 'trackerversion'");
80 // ###################################################################
84 /*=====================================================================*\
85 || ###################################################################
88 || ###################################################################
89 \*=====================================================================*/