|
|
|
@ -155,7 +155,7 @@ error_reporting(E_COMPILE_ERROR | E_ERROR | E_CORE_ERROR); |
|
|
|
|
//upgrading from any subversion of 1.6 is just like upgrading from 1.6.5 |
|
|
|
|
$update_from_version_6=array('1.6','1.6.1','1.6.2','1.6.3','1.6.4','1.6.5'); |
|
|
|
|
//upgrading from any subversion of 1.8 avoids the additional step of upgrading from 1.6 |
|
|
|
|
$update_from_version_8=array('1.8','1.8.2','1.8.3','1.8.4','1.8.5','1.8.6','1.8.6.1'); |
|
|
|
|
$update_from_version_8=array('1.8','1.8.2','1.8.3','1.8.4','1.8.5','1.8.6','1.8.6.1','1.8.6.2'); |
|
|
|
|
$my_old_version = ''; |
|
|
|
|
$tmp_version = get_config_param('dokeos_version'); |
|
|
|
|
if(!empty($_POST['old_version'])) { |
|
|
|
@ -168,9 +168,9 @@ elseif(!empty($dokeos_version)) //variable coming from installedVersion, normall |
|
|
|
|
$my_old_version = $dokeos_version; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
$new_version = '1.8.6.2'; |
|
|
|
|
$new_version_stable = true; |
|
|
|
|
$new_version_major = false; |
|
|
|
|
$new_version = '1.8.7'; |
|
|
|
|
$new_version_stable = false; |
|
|
|
|
$new_version_major = true; |
|
|
|
|
/* |
|
|
|
|
============================================================================== |
|
|
|
|
STEP 1 : INITIALIZES FORM VARIABLES IF IT IS THE FIRST VISIT |
|
|
|
|