[10.0.17.dev] petites corrections
This commit is contained in:
parent
7c46f16c3e
commit
eb4f257c5d
@ -35,7 +35,7 @@ class common {
|
||||
const TEMP_DIR = 'site/tmp/';
|
||||
|
||||
// Numéro de version
|
||||
const ZWII_VERSION = '10.0.15.dev';
|
||||
const ZWII_VERSION = '10.0.17.dev';
|
||||
|
||||
public static $actions = [];
|
||||
public static $coreModuleIds = [
|
||||
@ -1111,7 +1111,8 @@ class common {
|
||||
}
|
||||
// Version 10.0.00
|
||||
if($this->getData(['core', 'dataVersion']) < 10000) {
|
||||
$this->setData(['config','i18n','fr']);
|
||||
//$this->setData(['page',$this->getData(['config','homePageId']),'homePageId']);
|
||||
//$this->deleteData(['config','homePageId']);
|
||||
$this->setData(['core', 'dataVersion', 10000]);
|
||||
}
|
||||
|
||||
@ -1384,7 +1385,7 @@ class core extends common {
|
||||
$access = true;
|
||||
}
|
||||
else {
|
||||
if($this->getUrl(0) === $this->getData(['config', 'homePageId'])) {
|
||||
if($this->getUrl(0) === $this->getHomePageId()) {
|
||||
$access = 'login';
|
||||
}
|
||||
else {
|
||||
@ -1722,9 +1723,6 @@ class helper {
|
||||
*/
|
||||
public static function arrayCollumn($array, $column, $sort = null) {
|
||||
$newArray = [];
|
||||
unset($array['homePageId']);
|
||||
unset($array['metaDescription']);
|
||||
unset($array['title']);
|
||||
if(empty($array) === false) {
|
||||
$newArray = array_map(function($element) use($column) {
|
||||
return $element[$column];
|
||||
|
@ -24,7 +24,6 @@
|
||||
'disabled' => true,
|
||||
'help' => 'La page d\'accueil est définie dans les pages de la langue sélectionnée'
|
||||
]); ?>
|
||||
<?php echo $this->getHomePageId(); ?>
|
||||
</div>
|
||||
<div class="col8">
|
||||
<?php echo template::text('configTitle', [
|
||||
|
Loading…
Reference in New Issue
Block a user