dev003 bugs
This commit is contained in:
parent
c12978f93a
commit
06b32aa54e
@ -1112,7 +1112,7 @@ class common {
|
|||||||
while( $success
|
while( $success
|
||||||
AND $file = readdir($dir) ) {
|
AND $file = readdir($dir) ) {
|
||||||
|
|
||||||
if (( $file != '.' ) && ( $file != '..' )) {
|
if (( $file != '.' ) && ( $file != '..' )) {
|
||||||
if ( is_dir($src . '/' . $file) ){
|
if ( is_dir($src . '/' . $file) ){
|
||||||
// Appel récursif des sous-dossiers
|
// Appel récursif des sous-dossiers
|
||||||
$s = $this->copyDir($src . '/' . $file, $dst . '/' . $file);
|
$s = $this->copyDir($src . '/' . $file, $dst . '/' . $file);
|
||||||
@ -2118,7 +2118,7 @@ class common {
|
|||||||
public function showi18n() {
|
public function showi18n() {
|
||||||
foreach (self::$i18nList as $key => $value) {
|
foreach (self::$i18nList as $key => $value) {
|
||||||
|
|
||||||
if ($this->getData(['config', 'i18n', $key]) === 'site' )
|
if ($this->getData(['config', 'i18n', $key]) === 'site' )
|
||||||
{
|
{
|
||||||
if (
|
if (
|
||||||
(isset($_COOKIE['ZWII_I18N_SITE'] )
|
(isset($_COOKIE['ZWII_I18N_SITE'] )
|
||||||
|
@ -870,7 +870,9 @@ if ($this->getData(['core', 'dataVersion']) < 11600) {
|
|||||||
$this->deleteData(['config','i18n', 'scriptGoogle']);
|
$this->deleteData(['config','i18n', 'scriptGoogle']);
|
||||||
$this->deleteData(['config','i18n', 'showCredits']);
|
$this->deleteData(['config','i18n', 'showCredits']);
|
||||||
$this->deleteData(['config','i18n', 'autoDetect']);
|
$this->deleteData(['config','i18n', 'autoDetect']);
|
||||||
$this->removeDir('core/vendor/i18n/css');
|
if (is_dir('core/vendor/i18n/css')) {
|
||||||
|
$this->removeDir('core/vendor/i18n/css');
|
||||||
|
}
|
||||||
// Nettoyage
|
// Nettoyage
|
||||||
if (file_exists('core/module/translate/ressource/googtrans.png')){
|
if (file_exists('core/module/translate/ressource/googtrans.png')){
|
||||||
unlink('core/module/translate/ressource/googtrans.png');
|
unlink('core/module/translate/ressource/googtrans.png');
|
||||||
@ -878,8 +880,9 @@ if ($this->getData(['core', 'dataVersion']) < 11600) {
|
|||||||
if (file_exists('core/vendor/i18n/inc.json')){
|
if (file_exists('core/vendor/i18n/inc.json')){
|
||||||
unlink('core/vendor/i18n/inc.json');
|
unlink('core/vendor/i18n/inc.json');
|
||||||
}
|
}
|
||||||
if (file_exits('core/vendor/i18n/translate.js')){
|
if (file_exists('core/vendor/i18n/translate.js')){
|
||||||
unlink('core/vendor/i18n/translate.js');}
|
unlink('core/vendor/i18n/translate.js');
|
||||||
|
}
|
||||||
if (file_exists('core/vendor/i18n/translation.js')){
|
if (file_exists('core/vendor/i18n/translation.js')){
|
||||||
unlink('core/vendor/i18n/translation.js');
|
unlink('core/vendor/i18n/translation.js');
|
||||||
}
|
}
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 3.4 KiB |
Loading…
x
Reference in New Issue
Block a user