forked from ZwiiCMS-Team/ZwiiCMS
admin code 3
This commit is contained in:
parent
b57a83e9cf
commit
937c36ca6d
@ -55,7 +55,7 @@ class common
|
||||
// Numéro de version et branche pour l'auto-update
|
||||
const ZWII_VERSION = '12.4.00';
|
||||
|
||||
const ZWII_DATAVERSION = 12400;
|
||||
const ZWII_DATAVERSION = 12301;
|
||||
|
||||
// URL autoupdate
|
||||
const ZWII_UPDATE_URL = 'https://forge.chapril.org/ZwiiCMS-Team/update/raw/branch/master/';
|
||||
|
@ -955,21 +955,14 @@ if ($this->getData(['core', 'dataVersion']) < 12301) {
|
||||
unlink('core/module/install/ressource/i18n/gr_GR.json');
|
||||
|
||||
// Mise à jour
|
||||
$this->setData(['core', 'dataVersion', 12300]);
|
||||
$this->setData(['core', 'dataVersion', 12301]);
|
||||
}
|
||||
|
||||
// Version 12.4.00
|
||||
/*
|
||||
if ($this->getData(['core', 'dataVersion']) < 12400) {
|
||||
|
||||
// Affecter le groupe 99 aux admins
|
||||
$users = $this->getData(['user']);
|
||||
foreach ($users as $key => $value) {
|
||||
if ($value['group'] === 3) {
|
||||
$this->setData(['user', $key, 'group', 99]);
|
||||
}
|
||||
}
|
||||
|
||||
// Mise à jour
|
||||
$this->setData(['core', 'dataVersion', 12400]);
|
||||
|
||||
}
|
||||
} */
|
@ -401,7 +401,7 @@ class init extends common
|
||||
'path' => '.\/site\/file\/source\/partage\/',
|
||||
]
|
||||
],
|
||||
'99' => [
|
||||
'3' => [
|
||||
'name' => 'Administrateur',
|
||||
'readonly' => true,
|
||||
'comment' => 'Contrôle total',
|
||||
|
Loading…
x
Reference in New Issue
Block a user