Browse Source

constante update

10504
fredtempez 4 months ago
parent
commit
5ac2b33a2d
  1. 2
      module/download/download.php
  2. 2
      module/registration/registration.php
  3. 2
      module/sondage/sondage.php
  4. 12
      module/version/version.php

2
module/download/download.php

@ -17,7 +17,7 @@ class download extends common {
const VERSION = '1.0';
const REALNAME = 'Téléchargement';
const DELETE = true;
const UPDATE = true;
const UPDATE = '0.0';
const DATADIRECTORY = []; // Contenu localisé inclus par défaut (page.json et module.json)
const EDIT_OWNER = 'owner';

2
module/registration/registration.php

@ -17,7 +17,7 @@ class registration extends common {
const VERSION = '1.0';
const REALNAME = 'Auto-Inscription';
const DELETE = true;
const UPDATE = true;
const UPDATE = '0.0';
const DATADIRECTORY = []; // Contenu localisé inclus par défaut (page.json et module.json)
const STATUS_AWAITING = NULL; // En attente de validation du mail

2
module/sondage/sondage.php

@ -20,7 +20,7 @@ class sondage extends common {
const VERSION = '1.0';
const REALNAME = 'Sondage';
const DELETE = true;
const UPDATE = true;
const UPDATE = '0.0';
const DATADIRECTORY = []; // Contenu localisé inclus par défaut (page.json et module.json)
public static $actions = [

12
module/version/version.php

@ -7,24 +7,30 @@
* file that was distributed with this source code.
*
* @license GNU General Public License, version 3
* @author : Frédéric Tempez <frederic.tempez@outlook.com> *
* @author : Frédéric Tempez <frederic.tempez@outlook.com> *
* @copyright Copyright (C) 2018-2020, Frédéric Tempez
* @link http://zwiicms.com/
*/
class version extends common {
const VERSION = '1.0';
const REALNAME = 'Version';
const DELETE = true;
const UPDATE = '0.0';
const DATADIRECTORY = []; // Contenu localisé inclus par défaut (page.json et module.json)
public static $actions = [
'index'=> self::GROUP_VISITOR
];
/**
* Retourne le numéro de version
*/
public function index() {
exit( common::ZWII_VERSION);
}
}
}
Loading…
Cancel
Save