092 Suppression fullpage + changes
This commit is contained in:
parent
0ade031772
commit
0d41800c0f
@ -2,9 +2,13 @@
|
||||
|
||||
|
||||
## version 10.0.092
|
||||
- Nouveautés :
|
||||
- Masque de configuration : options de réglage d'un serveur SMTP
|
||||
- Modification :
|
||||
- Masque de configuration : changement de libellés.
|
||||
- Scripts externes:
|
||||
- Suppression du script fullPage.js
|
||||
- Modifications :
|
||||
- Configuration : changement de libellés.
|
||||
- Ajout de l'extension SMTP de PHPMailer
|
||||
|
||||
## version 10.0.091
|
||||
- Mises à jour :
|
||||
|
@ -1222,6 +1222,20 @@ class common {
|
||||
|
||||
$this->setData(['core', 'dataVersion', 10000]);
|
||||
}
|
||||
// Version 10.0.092
|
||||
if($this->getData(['core', 'dataVersion']) < 10092) {
|
||||
// Suppression du dosseir fullpage
|
||||
if (is_dir('core/vendor/fullpage')) {
|
||||
$dir = getcwd();
|
||||
chdir('core/vendor/fullpage');
|
||||
$files = glob('*');
|
||||
foreach($files as $file) unlink($file);
|
||||
chdir($dir);
|
||||
rmdir ('core/vendor/fullpage/');
|
||||
}
|
||||
$this->setData(['core', 'dataVersion', 10092]);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user