1 <?php |
1 <?php |
2 |
2 |
3 /* |
3 /* |
4 * Enano - an open-source CMS capable of wiki functions, Drupal-like sidebar blocks, and everything in between |
4 * Enano - an open-source CMS capable of wiki functions, Drupal-like sidebar blocks, and everything in between |
5 * Version 1.1.1 |
5 * Version 1.1.4 (Caoineag alpha 4) |
6 * Copyright (C) 2006-2007 Dan Fuhry |
6 * Copyright (C) 2006-2008 Dan Fuhry |
7 * Installation package |
7 * Installation package |
8 * upgrade.php - Upgrade interface |
8 * upgrade.php - Upgrade interface |
9 * |
9 * |
10 * This program is Free Software; you can redistribute and/or modify it under the terms of the GNU General Public License |
10 * This program is Free Software; you can redistribute and/or modify it under the terms of the GNU General Public License |
11 * as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. |
11 * as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. |
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'); |
21 $enano_versions['1.0'] = array('1.0', '1.0.1', '1.0.2b1', '1.0.2', '1.0.3', '1.0.4'); |
22 $enano_versions['1.1'] = array('1.1.1', '1.1.2', '1.1.3'); |
22 $enano_versions['1.1'] = array('1.1.1', '1.1.2', '1.1.3', '1.1.4'); |
23 |
23 |
24 // Turn on every imaginable API hack to make common load on older databases |
24 // Turn on every imaginable API hack to make common load on older databases |
25 define('IN_ENANO_UPGRADE', 1); |
25 define('IN_ENANO_UPGRADE', 1); |
26 define('IN_ENANO_MIGRATION', 1); |
26 define('IN_ENANO_MIGRATION', 1); |
27 define('ENANO_ALLOW_LOAD_NOLANG', 1); |
27 define('ENANO_ALLOW_LOAD_NOLANG', 1); |