diff --git a/install/core/actions/applySett.php b/install/core/actions/applySett.php index 113f73b72e..1f8eded2fe 100644 --- a/install/core/actions/applySett.php +++ b/install/core/actions/applySett.php @@ -34,7 +34,7 @@ $data = array( $lang = (!empty($_SESSION['install']['user-lang']))? $_SESSION['install']['user-lang'] : 'en_US'; if (!$installer->saveData($data, $lang)) { $result['success'] = false; - $result['errorMsg'] = 'Can not save settings'; + $result['errorMsg'] = $langs['Can not save settings']; } ob_clean(); diff --git a/install/core/actions/finish.php b/install/core/actions/finish.php index 0307c00ab8..4c4d4f04af 100644 --- a/install/core/actions/finish.php +++ b/install/core/actions/finish.php @@ -23,10 +23,11 @@ $serverType = $systemHelper->getServerType(); +$serverType = 'microsoft-iis'; $rootDir = dirname(__FILE__); $rootDir = preg_replace('/\/install\/core\/actions\/?/', '', $rootDir, 1); -$cronFile = $rootDir.'/cron.php'; -$phpBinDir = (defined("PHP_BINDIR"))? PHP_BINDIR.'/php' : 'php'; +$cronFile = $rootDir.DIRECTORY_SEPARATOR.'cron.php'; +$phpBinDir = (defined("PHP_BINDIR"))? PHP_BINDIR.DIRECTORY_SEPARATOR.'php' : 'php'; $cronHelp = (isset($langs['cronHelp'][$serverType]))? $langs['cronHelp'][$serverType] : $langs['cronHelp']['default']; $cronHelp = str_replace('', $cronFile, $cronHelp);