diff --git a/module/gallery/gallery.php b/module/gallery/gallery.php index 7e0d406d..c9c7c1ab 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 . 'modules/gallery/'; + const DATADIRECTORY = self::DATA_DIR . 'gallery/'; const SORT_ASC = 'SORT_ASC'; const SORT_DSC = 'SORT_DSC'; diff --git a/module/news/news.php b/module/news/news.php index 5a0aa2d6..4dbb69da 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 . 'modules/news/'; + const DATADIRECTORY = self::DATA_DIR . 'news/'; public static $actions = [ 'add' => self::GROUP_MODERATOR, diff --git a/module/search/search.php b/module/search/search.php index 15a8a690..f4b6d259 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 . 'modules/search/'; + const DATADIRECTORY = self::DATA_DIR . 'search/'; public static $actions = [ 'index' => self::GROUP_VISITOR,