Browse Source

supprimer constantes de modules inutiles

master
Fred Tempez 3 months ago
parent
commit
de22004f48
  1. 2
      core/core.php
  2. 2
      module/blog/blog.php
  3. 2
      module/form/form.php
  4. 2
      module/gallery/gallery.php
  5. 2
      module/news/news.php
  6. 2
      module/redirection/redirection.php
  7. 2
      module/search/search.php

2
core/core.php

@ -45,7 +45,7 @@ class common {
// Numéro de version
const ZWII_UPDATE_URL = 'https://forge.chapril.org/ZwiiCMS-Team/update/raw/branch/master/';
const ZWII_VERSION = '11.4.02';
const ZWII_VERSION = '11.4.03';
const ZWII_UPDATE_CHANNEL = "v11";
public static $actions = [];

2
module/blog/blog.php

@ -17,8 +17,6 @@ class blog extends common {
const VERSION = '5.2';
const REALNAME = 'Blog';
const DELETE = true;
const UPDATE = '0.0';
const DATADIRECTORY = ''; // Contenu localisé inclus par défaut (page.json et module.json)
const EDIT_OWNER = 'owner';

2
module/form/form.php

@ -18,8 +18,6 @@ class form extends common {
const VERSION = '2.11';
const REALNAME = 'Formulaire';
const DELETE = true;
const UPDATE = '0.0';
const DATADIRECTORY = ''; // Contenu localisé inclus par défaut (page.json et module.json)
public static $actions = [

2
module/gallery/gallery.php

@ -19,8 +19,6 @@ class gallery extends common {
const VERSION = '3.5';
const REALNAME = 'Galerie';
const DELETE = true;
const UPDATE = '0.0';
const DATADIRECTORY = self::DATA_DIR . 'gallery/';
const SORT_ASC = 'SORT_ASC';

2
module/news/news.php

@ -17,8 +17,6 @@ class news extends common {
const VERSION = '3.7';
const REALNAME = 'News';
const DELETE = true;
const UPDATE = '0.0';
const DATADIRECTORY = self::DATA_DIR . 'news/';
public static $actions = [

2
module/redirection/redirection.php

@ -17,8 +17,6 @@ class redirection extends common {
const VERSION = '1.5';
const REALNAME = 'Redirection';
const DELETE = true;
const UPDATE = '0.0';
const DATADIRECTORY = ''; // Contenu localisé inclus par défaut (page.json et module.json)
public static $actions = [

2
module/search/search.php

@ -21,8 +21,6 @@ class search extends common {
const VERSION = '2.4';
const REALNAME = 'Recherche';
const DELETE = true;
const UPDATE = '0.0';
const DATADIRECTORY = self::DATA_DIR . 'search/';
public static $actions = [

Loading…
Cancel
Save