DATADIRECTORY supprimer le dossier modules

This commit is contained in:
fredtempez 2021-04-26 21:18:32 +02:00
parent a55c2b9de4
commit 0b8ae49b70
3 changed files with 3 additions and 3 deletions

View File

@ -21,7 +21,7 @@ class gallery extends common {
const REALNAME = 'Galerie'; const REALNAME = 'Galerie';
const DELETE = true; const DELETE = true;
const UPDATE = '0.0'; const UPDATE = '0.0';
const DATADIRECTORY = self::DATA_DIR . 'modules/gallery/'; const DATADIRECTORY = self::DATA_DIR . 'gallery/';
const SORT_ASC = 'SORT_ASC'; const SORT_ASC = 'SORT_ASC';
const SORT_DSC = 'SORT_DSC'; const SORT_DSC = 'SORT_DSC';

View File

@ -19,7 +19,7 @@ class news extends common {
const REALNAME = 'Actualités'; const REALNAME = 'Actualités';
const DELETE = true; const DELETE = true;
const UPDATE = '0.0'; const UPDATE = '0.0';
const DATADIRECTORY = self::DATA_DIR . 'modules/news/'; const DATADIRECTORY = self::DATA_DIR . 'news/';
public static $actions = [ public static $actions = [
'add' => self::GROUP_MODERATOR, 'add' => self::GROUP_MODERATOR,

View File

@ -23,7 +23,7 @@ class search extends common {
const REALNAME = 'Recherche'; const REALNAME = 'Recherche';
const DELETE = true; const DELETE = true;
const UPDATE = '0.0'; const UPDATE = '0.0';
const DATADIRECTORY = self::DATA_DIR . 'modules/search/'; const DATADIRECTORY = self::DATA_DIR . 'search/';
public static $actions = [ public static $actions = [
'index' => self::GROUP_VISITOR, 'index' => self::GROUP_VISITOR,