forked from ZwiiCMS-Team/ZwiiCMS
DATADIRECTORY supprimer le dossier modules
This commit is contained in:
parent
a55c2b9de4
commit
0b8ae49b70
@ -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';
|
||||
|
@ -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,
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user