2016-10-06 15:57:01 +00:00
|
|
|
<?php
|
2020-12-13 12:43:03 +00:00
|
|
|
|
2016-10-06 15:57:01 +00:00
|
|
|
/**
|
|
|
|
* define needed var for conlite setup
|
|
|
|
*
|
|
|
|
* @package ConLite
|
|
|
|
* @subpackage Setup
|
2020-09-02 08:10:13 +00:00
|
|
|
* @license https://www.gnu.de/documents/gpl-3.0.de.html GNU General Public License (GPL)
|
|
|
|
* @link https://conlite.org ConLite Portal
|
2016-10-06 15:57:01 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
if (!defined('CON_FRAMEWORK')) {
|
|
|
|
die('Illegal call');
|
|
|
|
}
|
|
|
|
|
|
|
|
if (array_key_exists('setuptype', $_SESSION)) {
|
|
|
|
switch ($_SESSION['setuptype']) {
|
|
|
|
case 'setup':
|
|
|
|
define('C_SETUP_STEPS', 8);
|
|
|
|
break;
|
|
|
|
case 'upgrade':
|
|
|
|
define('C_SETUP_STEPS', 7);
|
|
|
|
break;
|
|
|
|
case 'migration':
|
|
|
|
define('C_SETUP_STEPS', 8);
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
define('C_SETUP_STEPFILE', 'images/steps/s%d.png');
|
|
|
|
define('C_SETUP_STEPFILE_ACTIVE', 'images/steps/s%da.png');
|
|
|
|
define('C_SETUP_STEPWIDTH', 28);
|
|
|
|
define('C_SETUP_STEPHEIGHT', 28);
|
2020-12-13 12:43:03 +00:00
|
|
|
define('C_SETUP_MIN_PHP_VERSION', '7.2');
|
|
|
|
define('C_SETUP_MAX_PHP_VERSION', '7.4');
|
2021-01-08 15:19:18 +00:00
|
|
|
define('C_SETUP_VERSION', '2.2.0');
|