From 67f377ec486aa178034b78899f7d24c779ff1b4e Mon Sep 17 00:00:00 2001 From: fredtempez Date: Sun, 11 Aug 2019 21:12:00 +0200 Subject: [PATCH] [9.3.00] petite correction --- core/core.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/core/core.php b/core/core.php index e06d20fb..e6db408b 100644 --- a/core/core.php +++ b/core/core.php @@ -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';