Feature #272 - Installation scripts: Reorganization of the library install.lib.php. Other minor changes.

skala
Ivan Tcholakov 15 years ago
parent 8b54edf958
commit ea112baa0f
  1. 1244
      main/install/install.lib.php
  2. 3
      main/install/update-db-1.6.x-1.8.0.inc.php
  3. 2
      main/install/update-db-1.8.0-1.8.2.inc.php
  4. 4
      main/install/update-db-1.8.2-1.8.3.inc.php
  5. 3
      main/install/update-db-1.8.3-1.8.4.inc.php
  6. 3
      main/install/update-db-1.8.4-1.8.5.inc.php
  7. 2
      main/install/update-db-1.8.5-1.8.6.inc.php
  8. 2
      main/install/update-db-1.8.6-1.8.6.1.inc.php
  9. 2
      main/install/update-db-1.8.6.1-1.8.6.2.inc.php
  10. 2
      main/install/update-db-1.8.6.2-1.8.7.inc.php

File diff suppressed because it is too large Load Diff

@ -26,7 +26,8 @@
// Check if we come from index.php or update_courses.php - otherwise display error msg
if (defined('SYSTEM_INSTALLATION') || defined('DOKEOS_COURSE_UPDATE')) {
// Check if the current Dokeos install is elligible for update
// Check if the current Dokeos install is eligible for update
if (empty($updateFromConfigFile) || !file_exists($_POST['updatePath'].$updateFromConfigFile) || !in_array(get_config_param('clarolineVersion'), $update_from_version_6)) {
echo '<strong>'.get_lang('Error').' !</strong> Dokeos '.implode('|', $updateFromVersion).' '.get_lang('HasNotBeenFound').'.<br /><br />

@ -27,7 +27,7 @@
// Check if we come from index.php or update_courses.php - otherwise display error msg
if (defined('SYSTEM_INSTALLATION') || defined('DOKEOS_COURSE_UPDATE')) {
//check if the current Dokeos install is elligible for update
// Check if the current Dokeos install is eligible for update
if (!file_exists('../inc/conf/configuration.php')) {
echo '<strong>'.get_lang('Error').' !</strong> Dokeos '.implode('|', $updateFromVersion).' '.get_lang('HasNotBeenFound').'.<br /><br />
'.get_lang('PleasGoBackToStep1').'.

@ -24,10 +24,10 @@
==============================================================================
*/
//check if we come from index.php or update_courses.php - otherwise display error msg
// Check if we come from index.php or update_courses.php - otherwise display error msg
if (defined('SYSTEM_INSTALLATION') || defined('DOKEOS_COURSE_UPDATE')) {
// Check if the current Dokeos install is elligible for update
// Check if the current Dokeos install is eligible for update
if (!file_exists('../inc/conf/configuration.php')) {
echo '<strong>'.get_lang('Error').' !</strong> Dokeos '.implode('|', $updateFromVersion).' '.get_lang('HasNotBeenFound').'.<br /><br />
'.get_lang('PleasGoBackToStep1').'.

@ -26,7 +26,8 @@
// Check if we come from index.php or update_courses.php - otherwise display error msg
if (defined('SYSTEM_INSTALLATION') || defined('DOKEOS_COURSE_UPDATE')) {
//check if the current Dokeos install is elligible for update
// Check if the current Dokeos install is eligible for update
if (!file_exists('../inc/conf/configuration.php')) {
echo '<strong>'.get_lang('Error').' !</strong> Dokeos '.implode('|', $updateFromVersion).' '.get_lang('HasNotBeenFound').'.<br /><br />
'.get_lang('PleasGoBackToStep1').'.

@ -29,7 +29,8 @@ $new_file_version = '1.8.5';
// Check if we come from index.php or update_courses.php - otherwise display error msg
if (defined('SYSTEM_INSTALLATION') || defined('DOKEOS_COURSE_UPDATE')) {
//check if the current Dokeos install is elligible for update
// Check if the current Dokeos install is eligible for update
if (!file_exists('../inc/conf/configuration.php')) {
echo '<strong>'.get_lang('Error').' !</strong> Dokeos '.implode('|', $updateFromVersion).' '.get_lang('HasNotBeenFound').'.<br /><br />
'.get_lang('PleasGoBackToStep1').'.

@ -30,7 +30,7 @@ $new_file_version = '1.8.6';
// Check if we come from index.php or update_courses.php - otherwise display error msg
if (defined('SYSTEM_INSTALLATION') || defined('DOKEOS_COURSE_UPDATE')) {
// Check if the current Dokeos install is elligible for update
// Check if the current Dokeos install is eligible for update
if (!file_exists('../inc/conf/configuration.php')) {
echo '<strong>'.get_lang('Error').' !</strong> Dokeos '.implode('|', $updateFromVersion).' '.get_lang('HasNotBeenFound').'.<br /><br />
'.get_lang('PleasGoBackToStep1').'.

@ -30,7 +30,7 @@ $new_file_version = '1.8.6.1';
//check if we come from index.php or update_courses.php - otherwise display error msg
if (defined('SYSTEM_INSTALLATION') || defined('DOKEOS_COURSE_UPDATE')) {
//check if the current Dokeos install is elligible for update
// Check if the current Dokeos install is eligible for update
if (!file_exists('../inc/conf/configuration.php')) {
echo '<strong>'.get_lang('Error').' !</strong> Dokeos '.implode('|', $updateFromVersion).' '.get_lang('HasNotBeenFound').'.<br /><br />
'.get_lang('PleasGoBackToStep1').'.

@ -30,7 +30,7 @@ $new_file_version = '1.8.6.2';
// Check if we come from index.php or update_courses.php - otherwise display error msg
if (defined('SYSTEM_INSTALLATION') || defined('DOKEOS_COURSE_UPDATE')) {
// Check if the current Dokeos install is elligible for update
// Check if the current Dokeos install is eligible for update
if (!file_exists('../inc/conf/configuration.php')) {
echo '<strong>'.get_lang('Error').' !</strong> Dokeos '.implode('|', $updateFromVersion).' '.get_lang('HasNotBeenFound').'.<br /><br />
'.get_lang('PleasGoBackToStep1').'.

@ -30,7 +30,7 @@ $new_file_version = '1.8.7';
// Check if we come from index.php or update_courses.php - otherwise display error msg
if (defined('SYSTEM_INSTALLATION') || defined('DOKEOS_COURSE_UPDATE')) {
// Check if the current Dokeos install is elligible for update
// Check if the current Dokeos install is eligible for update
if (!file_exists('../inc/conf/configuration.php')) {
echo '<strong>'.get_lang('Error').' !</strong> Dokeos '.implode('|', $updateFromVersion).' '.get_lang('HasNotBeenFound').'.<br /><br />
'.get_lang('PleasGoBackToStep1').'.

Loading…
Cancel
Save