From 59f0fe537f35d478c4f6b535847a4fdbe2126388 Mon Sep 17 00:00:00 2001 From: fredtempez Date: Tue, 27 Apr 2021 08:53:16 +0200 Subject: [PATCH] DATADIRECTORY chemins corrects --- module/gallery/gallery.php | 2 +- module/news/news.php | 2 +- module/search/search.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/module/gallery/gallery.php b/module/gallery/gallery.php index c9c7c1ab..687bf911 100755 --- a/module/gallery/gallery.php +++ b/module/gallery/gallery.php @@ -21,7 +21,7 @@ class gallery extends common { const REALNAME = 'Galerie'; const DELETE = true; const UPDATE = '0.0'; - const DATADIRECTORY = self::DATA_DIR . 'gallery/'; + const DATADIRECTORY = self::DATA_DIR . 'gallery/pages/'; const SORT_ASC = 'SORT_ASC'; const SORT_DSC = 'SORT_DSC'; diff --git a/module/news/news.php b/module/news/news.php index 4dbb69da..3eb8ffb9 100755 --- a/module/news/news.php +++ b/module/news/news.php @@ -19,7 +19,7 @@ class news extends common { const REALNAME = 'Actualités'; const DELETE = true; const UPDATE = '0.0'; - const DATADIRECTORY = self::DATA_DIR . 'news/'; + const DATADIRECTORY = self::DATA_DIR . 'news/pages/'; public static $actions = [ 'add' => self::GROUP_MODERATOR, diff --git a/module/search/search.php b/module/search/search.php index f4b6d259..69b5c1d5 100755 --- a/module/search/search.php +++ b/module/search/search.php @@ -23,7 +23,7 @@ class search extends common { const REALNAME = 'Recherche'; const DELETE = true; const UPDATE = '0.0'; - const DATADIRECTORY = self::DATA_DIR . 'search/'; + const DATADIRECTORY = self::DATA_DIR . 'search/pages/'; public static $actions = [ 'index' => self::GROUP_VISITOR,