Browse Source

DATADIRECTORY supprimer le dossier modules

10600
fredtempez 3 months ago
parent
commit
0b8ae49b70
  1. 2
      module/gallery/gallery.php
  2. 2
      module/news/news.php
  3. 2
      module/search/search.php

2
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';

2
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,

2
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,

Loading…
Cancel
Save