From 8193e41241869e9121c0e12b33abf90765dfb522 Mon Sep 17 00:00:00 2001 From: Eric Marguin Date: Mon, 18 Jun 2007 19:07:09 +0200 Subject: [PATCH] [svn r12642] still a bug in upgrade --- main/install/update-db-1.8.0-1.8.2.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/install/update-db-1.8.0-1.8.2.inc.php b/main/install/update-db-1.8.0-1.8.2.inc.php index db6b01ee6f..de5d2a728d 100755 --- a/main/install/update-db-1.8.0-1.8.2.inc.php +++ b/main/install/update-db-1.8.0-1.8.2.inc.php @@ -58,7 +58,7 @@ if(function_exists('ini_set')) if (defined('DOKEOS_INSTALL') || defined('DOKEOS_COURSE_UPDATE')) { //check if the current Dokeos install is elligible for update - if (empty ($updateFromConfigFile) || !file_exists($_POST['updatePath'].$updateFromConfigFile)) + if (!file_exists('../inc/conf/configuration.php')) { echo ''.get_lang('Error').' ! Dokeos '.implode('|', $updateFromVersion).' '.get_lang('HasNotBeenFound').'.

'.get_lang('PleasGoBackToStep1').'.