forked from ZwiiCMS-Team/ZwiiCMS
bug effacement langue installée
This commit is contained in:
parent
793860f7d1
commit
49e8603ff9
@ -37,7 +37,7 @@ class translate extends common {
|
||||
foreach (self::$i18nList as $keyi18n => $value) {
|
||||
if ($keyi18n === 'fr') {continue;}
|
||||
// Effacement d'une langue installée
|
||||
if ( is_dir( self::DATA_DIR . $keyi18n ) === true
|
||||
if ( is_dir( self::DATA_DIR . $keyi18n ) === false
|
||||
AND $this->getInput('translate' . strtoupper($keyi18n)) === 'none')
|
||||
{
|
||||
$this->removeDir( self::DATA_DIR . $keyi18n);
|
||||
|
Loading…
Reference in New Issue
Block a user