[9.3.00] petite correction

This commit is contained in:
fredtempez 2019-08-11 21:12:00 +02:00
parent f63ee3e13a
commit 67f377ec48
1 changed files with 1 additions and 4 deletions

View File

@ -154,10 +154,8 @@ class common {
file_exists(self::DATA_DIR.'theme.json') === false ||
file_exists(self::DATA_DIR.'user.json') === false ) {
include_once('core/module/install/ressource/defaultdata.php');
$this->setData([install::$defaultData]);
$this->setData([install::$defaultData]);
$this->saveData();
chmod(self::DATA_DIR.'core.json', 0755);
chmod(self::DATA_DIR.'theme.json', 0755);
}
// Lecture des données déjà présentes
@ -844,7 +842,6 @@ class common {
*/
public function sendMail($to, $subject, $content) {
// Utilisation de PHPMailer version 6.0.6
// Layout
ob_start();
include 'core/layout/mail.php';