changeset 934 | ebefca69f3fd |
parent 832 | 7152ca0a0ce9 |
child 941 | 9be6dba92adf |
933:4823788b8603 | 934:ebefca69f3fd |
---|---|
16 |
16 |
17 define('IN_ENANO', 1); |
17 define('IN_ENANO', 1); |
18 |
18 |
19 // The list of versions in THIS AND PREVIOUS branches, in chronological order. |
19 // The list of versions in THIS AND PREVIOUS branches, in chronological order. |
20 $enano_versions = array(); |
20 $enano_versions = array(); |
21 $enano_versions['1.0'] = array('1.0', '1.0.1', '1.0.2b1', '1.0.2', '1.0.3', '1.0.4', '1.0.5'); |
21 $enano_versions['1.0'] = array('1.0', '1.0.1', '1.0.2b1', '1.0.2', '1.0.3', '1.0.4', '1.0.5', '1.0.6'); |
22 $enano_versions['1.1'] = array('1.1.1', '1.1.2', '1.1.3', '1.1.4', '1.1.5', '1.1.6'); |
22 $enano_versions['1.1'] = array('1.1.1', '1.1.2', '1.1.3', '1.1.4', '1.1.5', '1.1.6'); |
23 |
23 |
24 // If true, this will do a full langimport instead of only adding new strings. |
24 // If true, this will do a full langimport instead of only adding new strings. |
25 // Will probably be left on, but some change probably needs to be made to mark |
25 // Will probably be left on, but some change probably needs to be made to mark |
26 // strings as customized in the DB. |
26 // strings as customized in the DB. |
41 // PHP5 notice removed in 1.1.4 since the existing common is loaded and that loads lang and json2, which will |
41 // PHP5 notice removed in 1.1.4 since the existing common is loaded and that loads lang and json2, which will |
42 // give syntax errors on PHP4. So much for that. The installer will warn about this anyway. |
42 // give syntax errors on PHP4. So much for that. The installer will warn about this anyway. |
43 require_once('includes/common.php'); |
43 require_once('includes/common.php'); |
44 @ini_set('display_errors', 'on'); |
44 @ini_set('display_errors', 'on'); |
45 |
45 |
46 if ( in_array(enano_version(), array('1.0RC1', '1.0RC2', '1.0RC3', '1.0', '1.0.1', '1.0.2', '1.0.3', '1.0.4', '1.0.5', '1.1.1', '1.1.2', '1.1.3', '1.1.4', '1.1.5')) ) |
46 if ( in_array(enano_version(), array('1.0RC1', '1.0RC2', '1.0RC3', '1.0', '1.0.1', '1.0.2', '1.0.3', '1.0.4', '1.0.5', '1.0.6', '1.1.1', '1.1.2', '1.1.3', '1.1.4', '1.1.5')) ) |
47 define('ENANO_UPGRADE_USE_AES_PASSWORDS', 1); |
47 define('ENANO_UPGRADE_USE_AES_PASSWORDS', 1); |
48 |
48 |
49 $ui = new Enano_Installer_UI('Enano upgrader', false); |
49 $ui = new Enano_Installer_UI('Enano upgrader', false); |
50 |
50 |
51 $stg_welcome = $ui->add_stage('Welcome', true); |
51 $stg_welcome = $ui->add_stage('Welcome', true); |