Update of /cvsroot/stack/stack-dev/install/update
In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv11860/install/update
Modified Files:
Tag: STACK2_2
index.php Updater.php
Log Message:
Fixes for latest updating step.
Index: Updater.php
===================================================================
RCS file: /cvsroot/stack/stack-dev/install/update/Updater.php,v
retrieving revision 1.6.10.1
retrieving revision 1.6.10.2
diff -C2 -d -r1.6.10.1 -r1.6.10.2
*** Updater.php 29 Sep 2010 15:08:34 -0000 1.6.10.1
--- Updater.php 29 Sep 2010 16:37:48 -0000 1.6.10.2
***************
*** 21,25 ****
require_once($root.'/lib/database/StackDBBackup.php');
! define(STACK_CURRENT, 'STACK 2.0 alpha 2'); //The latest version of STACK.
class Updater{
--- 21,25 ----
require_once($root.'/lib/database/StackDBBackup.php');
! define(STACK_CURRENT, 'STACK 2.2'); //The latest version of STACK.
class Updater{
***************
*** 65,70 ****
// bit of a jump!?
! case 'STACK 2.2':
! require_once('updates/Alpha2.php'); //load the code to update STACK to alpha 2
$update = new TwoPointTwo($this->errorLog);
$update->performUpdate();
--- 65,70 ----
// bit of a jump!?
! case 'STACK 2.0 beta':
! require_once('updates/TwoPointTwo.php'); //load the code to update STACK to 2.2
$update = new TwoPointTwo($this->errorLog);
$update->performUpdate();
Index: index.php
===================================================================
RCS file: /cvsroot/stack/stack-dev/install/update/index.php,v
retrieving revision 1.4.18.1
retrieving revision 1.4.18.2
diff -C2 -d -r1.4.18.1 -r1.4.18.2
*** index.php 2 Jun 2010 15:40:11 -0000 1.4.18.1
--- index.php 29 Sep 2010 16:37:48 -0000 1.4.18.2
***************
*** 17,21 ****
*/
session_start();
! define(STACK_CURRENT, 'STACK 2.2 alpha'); //The latest version of STACK.
$configFile = '../../config.php';
if(!file_exists($configFile))
--- 17,21 ----
*/
session_start();
! define(STACK_CURRENT, 'STACK 2.2'); //The latest version of STACK.
$configFile = '../../config.php';
if(!file_exists($configFile))
|