[svn r12642] still a bug in upgrade

skala
Eric Marguin 19 years ago
parent 35224ff15e
commit 8193e41241
  1. 2
      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 '<b>'.get_lang('Error').' !</b> Dokeos '.implode('|', $updateFromVersion).' '.get_lang('HasNotBeenFound').'.<br><br>
'.get_lang('PleasGoBackToStep1').'.

Loading…
Cancel
Save