From 3d1914e847ec7331eb82fde282c1eee0677acd97 Mon Sep 17 00:00:00 2001 From: Fred Tempez Date: Thu, 14 May 2020 07:25:36 +0200 Subject: [PATCH] =?UTF-8?q?092=20compl=C3=A9ter=20la=20suppression=20fullp?= =?UTF-8?q?age?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/core.php | 8 ++++++-- core/vendor/tinymce/templates/fullPageSections.html | 6 ------ core/vendor/tinymce/templates/fullPageSlides.html | 8 -------- 3 files changed, 6 insertions(+), 16 deletions(-) delete mode 100644 core/vendor/tinymce/templates/fullPageSections.html delete mode 100644 core/vendor/tinymce/templates/fullPageSlides.html diff --git a/core/core.php b/core/core.php index f6506cce..810b5f0b 100755 --- a/core/core.php +++ b/core/core.php @@ -1241,8 +1241,8 @@ class common { $this->setData(['core', 'dataVersion', 10000]); } // Version 10.0.092 - if($this->getData(['core', 'dataVersion']) < 10092) { - // Suppression du dosseir fullpage + if ($this->getData(['core', 'dataVersion']) < 10092) { + // Suppression du dossier fullpage if (is_dir('core/vendor/fullpage')) { $dir = getcwd(); chdir('core/vendor/fullpage'); @@ -1251,6 +1251,10 @@ class common { chdir($dir); rmdir ('core/vendor/fullpage/'); } + if (file_exists('core/vendor/tinymce/templates/fullPageSections.html')) { + unlink ('core/vendor/tinymce/templates/fullPageSections.html'); } + if (file_exists('core/vendor/tinymce/templates/fullPageSlides.html')) { + unlink ('core/vendor/tinymce/templates/fullPageSlides.html'); } $this->setData(['core', 'dataVersion', 10092]); } diff --git a/core/vendor/tinymce/templates/fullPageSections.html b/core/vendor/tinymce/templates/fullPageSections.html deleted file mode 100644 index 7d4962d1..00000000 --- a/core/vendor/tinymce/templates/fullPageSections.html +++ /dev/null @@ -1,6 +0,0 @@ -
-
Section 1
-
Section 2
-
Section 3
-
Section 4
-
\ No newline at end of file diff --git a/core/vendor/tinymce/templates/fullPageSlides.html b/core/vendor/tinymce/templates/fullPageSlides.html deleted file mode 100644 index 628251d4..00000000 --- a/core/vendor/tinymce/templates/fullPageSlides.html +++ /dev/null @@ -1,8 +0,0 @@ -
-
-
Slide 1
-
Slide 2
-
Slide 3
-
Slide 4
-
-
\ No newline at end of file