<?php
/*=====================================================================*\
|| ###################################################################
|| # Bugdar
|| # Copyright ©2002-2007 Blue Static
|| #
|| # This program is free software; you can redistribute it and/or modify
|| # it under the terms of the GNU General Public License as published by
|| # the Free Software Foundation; version 2 of the License.
|| #
|| # This program is distributed in the hope that it will be useful, but
|| # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|| # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|| # more details.
|| #
|| # You should have received a copy of the GNU General Public License along
|| # with this program; if not, write to the Free Software Foundation, Inc.,
|| # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
|| ###################################################################
\*=====================================================================*/
define('STOP_MARK', 1);
define('ACTIVE_SITE', 'upgrade4.php');
require_once('./global.php');
page_start();
// ###################################################################
if ($bugsys->in['mark'] == 0)
{
?>
<h1>Welcome to Bugdar</h1>
<p>This upgrade will take from Bugdar 1.1.0 Beta 2 to Bugdar 1.1.0 Release Candidate 1.</p>
<p>Not much has to be done, we just need to bump your version number.</p>
<p>To begin the process, please click the button below.</p>
<?php
}
// ###################################################################
if ($bugsys->in['mark'] == 1)
{
?>
<h1>Version Number Change</h1>
<p>This step finishes the upgrade by inreasing your version number.</p>
<?php
$db->query("UPDATE " . TABLE_PREFIX . "setting SET value = '1.1.0 Release Candidate 1' WHERE varname = 'trackerversion'");
build_settings();
?>
... done.
<?php
}
// ###################################################################
page_end();
/*=====================================================================*\
|| ###################################################################
|| # $HeadURL$
|| # $Id$
|| ###################################################################
\*=====================================================================*/
?>