forked from ZwiiCMS-Team/ZwiiCMS
Fix install
This commit is contained in:
parent
6c008363cd
commit
7531973551
@ -345,10 +345,10 @@ class install extends common
|
||||
// Configuration
|
||||
case 4:
|
||||
$success = true;
|
||||
$message = null;
|
||||
$message = '';
|
||||
$rewrite = $this->getInput('data');
|
||||
// Réécriture d'URL
|
||||
if ($rewrite === "true") { // Ajout des lignes dans le .htaccess
|
||||
if ($rewrite === 'true') { // Ajout des lignes dans le .htaccess
|
||||
$fileContent = file_get_contents('.htaccess');
|
||||
$rewriteData = PHP_EOL .
|
||||
'# URL rewriting' . PHP_EOL .
|
||||
@ -392,7 +392,6 @@ class install extends common
|
||||
|
||||
foreach ($installedUI as $key => $value) {
|
||||
if ($store[$key]['version'] > $value['version']) {
|
||||
echo copy('core/module/install/ressource/i18n/' . $key . '.json', self::I18N_DIR . $key . '.json');
|
||||
$this->setData(['languages', $key, $store[$key]]);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user