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 VERSION = '1.0';
|
||||||
const REALNAME = 'Téléchargement';
|
const REALNAME = 'Téléchargement';
|
||||||
const DELETE = true;
|
const DELETE = true;
|
||||||
const UPDATE = true;
|
const UPDATE = '0.0';
|
||||||
const DATADIRECTORY = []; // Contenu localisé inclus par défaut (page.json et module.json)
|
const DATADIRECTORY = []; // Contenu localisé inclus par défaut (page.json et module.json)
|
||||||
|
|
||||||
const EDIT_OWNER = 'owner';
|
const EDIT_OWNER = 'owner';
|
||||||
|
@ -17,7 +17,7 @@ class registration extends common {
|
|||||||
const VERSION = '1.0';
|
const VERSION = '1.0';
|
||||||
const REALNAME = 'Auto-Inscription';
|
const REALNAME = 'Auto-Inscription';
|
||||||
const DELETE = true;
|
const DELETE = true;
|
||||||
const UPDATE = true;
|
const UPDATE = '0.0';
|
||||||
const DATADIRECTORY = []; // Contenu localisé inclus par défaut (page.json et module.json)
|
const DATADIRECTORY = []; // Contenu localisé inclus par défaut (page.json et module.json)
|
||||||
|
|
||||||
const STATUS_AWAITING = NULL; // En attente de validation du mail
|
const STATUS_AWAITING = NULL; // En attente de validation du mail
|
||||||
|
@ -20,7 +20,7 @@ class sondage extends common {
|
|||||||
const VERSION = '1.0';
|
const VERSION = '1.0';
|
||||||
const REALNAME = 'Sondage';
|
const REALNAME = 'Sondage';
|
||||||
const DELETE = true;
|
const DELETE = true;
|
||||||
const UPDATE = true;
|
const UPDATE = '0.0';
|
||||||
const DATADIRECTORY = []; // Contenu localisé inclus par défaut (page.json et module.json)
|
const DATADIRECTORY = []; // Contenu localisé inclus par défaut (page.json et module.json)
|
||||||
|
|
||||||
public static $actions = [
|
public static $actions = [
|
||||||
|
@ -7,24 +7,30 @@
|
|||||||
* file that was distributed with this source code.
|
* file that was distributed with this source code.
|
||||||
*
|
*
|
||||||
* @license GNU General Public License, version 3
|
* @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
|
* @copyright Copyright (C) 2018-2020, Frédéric Tempez
|
||||||
* @link http://zwiicms.com/
|
* @link http://zwiicms.com/
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class version extends common {
|
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 = [
|
public static $actions = [
|
||||||
'index'=> self::GROUP_VISITOR
|
'index'=> self::GROUP_VISITOR
|
||||||
|
|
||||||
];
|
];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Retourne le numéro de version
|
* Retourne le numéro de version
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public function index() {
|
public function index() {
|
||||||
exit( common::ZWII_VERSION);
|
exit( common::ZWII_VERSION);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user