constante update

This commit is contained in:
fredtempez 2021-03-04 13:30:38 +01:00
parent 88762ee5de
commit 5ac2b33a2d
4 changed files with 12 additions and 6 deletions

View File

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

View File

@ -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

View File

@ -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 = [

View File

@ -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);
}
}
}