changeset 1189 | 5721c914bbb0 |
parent 1081 | 745200a9cc2a |
child 1195 | 449fdd113eb0 |
1188:b746ba22a732 | 1189:5721c914bbb0 |
---|---|
15 |
15 |
16 define('IN_ENANO', 1); |
16 define('IN_ENANO', 1); |
17 |
17 |
18 // The list of versions in THIS AND PREVIOUS branches, in chronological order. |
18 // The list of versions in THIS AND PREVIOUS branches, in chronological order. |
19 $enano_versions = array(); |
19 $enano_versions = array(); |
20 $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'); |
20 $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', '1.0.6pl1'); |
21 $enano_versions['1.1'] = array('1.1.1', '1.1.2', '1.1.3', '1.1.4', '1.1.5', '1.1.6', '1.1.7'); |
21 $enano_versions['1.1'] = array('1.1.1', '1.1.2', '1.1.3', '1.1.4', '1.1.5', '1.1.6', '1.1.7'); |
22 |
22 |
23 // If true, this will do a full langimport instead of only adding new strings. |
23 // If true, this will do a full langimport instead of only adding new strings. |
24 // Will probably be left on, but some change probably needs to be made to mark |
24 // Will probably be left on, but some change probably needs to be made to mark |
25 // strings as customized in the DB. |
25 // strings as customized in the DB. |
40 // PHP5 notice removed in 1.1.4 since the existing common is loaded and that loads lang and json2, which will |
40 // PHP5 notice removed in 1.1.4 since the existing common is loaded and that loads lang and json2, which will |
41 // give syntax errors on PHP4. So much for that. The installer will warn about this anyway. |
41 // give syntax errors on PHP4. So much for that. The installer will warn about this anyway. |
42 require_once('includes/common.php'); |
42 require_once('includes/common.php'); |
43 @ini_set('display_errors', 'on'); |
43 @ini_set('display_errors', 'on'); |
44 |
44 |
45 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')) ) |
45 if ( in_array(enano_version(), array('1.1.1', '1.1.2', '1.1.3', '1.1.4', '1.1.5')) || substr(enano_version(), 0, 3) == '1.0' ) |
46 define('ENANO_UPGRADE_USE_AES_PASSWORDS', 1); |
46 define('ENANO_UPGRADE_USE_AES_PASSWORDS', 1); |
47 |
47 |
48 // init languages |
48 // init languages |
49 $lang_id_list = array_keys($languages); |
49 $lang_id_list = array_keys($languages); |
50 $lang_id = $lang_id_list[0]; |
50 $lang_id = $lang_id_list[0]; |