forked from ZwiiCMS-Team/ZwiiCMS
constante update
This commit is contained in:
parent
88762ee5de
commit
5ac2b33a2d
@ -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';
|
||||
|
@ -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
|
||||
|
@ -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 = [
|
||||
|
@ -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…
Reference in New Issue
Block a user