forked from ZwiiCMS-Team/ZwiiCMS
Merge branch 'master_dev' of https://github.com/fredtempez/ZwiiCMS into master_dev
This commit is contained in:
commit
b544ba0611
5
.gitignore
vendored
5
.gitignore
vendored
@ -1,5 +1,6 @@
|
||||
# Fichiers temporaires
|
||||
site/tmp/*
|
||||
site/tmp/*.zip
|
||||
site/tmp/*.gz
|
||||
|
||||
# Sauvegardes
|
||||
site/backup/*
|
||||
@ -7,8 +8,6 @@ site/backup/*
|
||||
# Fichiers de données
|
||||
site/data/*
|
||||
|
||||
# Fichiers temporaires
|
||||
site/temp/*
|
||||
|
||||
# Fichiers uploadés
|
||||
site/file/source/*
|
||||
|
@ -1,5 +1,9 @@
|
||||
# ChangeLog
|
||||
|
||||
## Version 9.0.09
|
||||
- Corrections :
|
||||
- Nettoyage du code, petites corrections.
|
||||
|
||||
## Version 9.0.08
|
||||
- Modifications :
|
||||
- Core : les données par défaut ne sont chargées qu'à installation afin d'alléger l'empreinte mémoire du noyau
|
||||
|
@ -721,7 +721,6 @@ class common {
|
||||
}
|
||||
// Version 8.4.6
|
||||
if($this->getData(['core', 'dataVersion']) < 846) {
|
||||
$this->getData(['core', 'dataVersion']);
|
||||
$this->setData(['config','itemsperPage',10]);
|
||||
$this->setData(['core', 'dataVersion', 846]);
|
||||
$this->SaveData();
|
||||
@ -734,7 +733,6 @@ class common {
|
||||
}
|
||||
// Version 8.5.1
|
||||
if($this->getData(['core', 'dataVersion']) < 851) {
|
||||
$this->getData(['core', 'dataVersion']);
|
||||
$this->setData(['config','itemsperPage',10]);
|
||||
$this->deleteData(['config','ItemsperPage']);
|
||||
$this->setData(['core', 'dataVersion', 851]);
|
||||
@ -742,7 +740,6 @@ class common {
|
||||
}
|
||||
// Version 9.0.0
|
||||
if($this->getData(['core', 'dataVersion']) < 9000) {
|
||||
$this->setData(['theme', 'site', 'block','12']);
|
||||
if ($this->getData(['theme','menu','position']) === 'body-top') {
|
||||
$this->setData(['theme','menu','position','top']);
|
||||
}
|
||||
@ -765,6 +762,13 @@ class common {
|
||||
$this->setData(['core', 'dataVersion', 9008]);
|
||||
$this->SaveData();
|
||||
}
|
||||
// Version 9.0.09
|
||||
if($this->getData(['core', 'dataVersion']) < 9009) {
|
||||
$this->deleteData(['theme', 'site', 'block','12']);
|
||||
$this->setData(['core', 'dataVersion', 9009]);
|
||||
$this->SaveData();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@ -889,7 +893,7 @@ class core extends common {
|
||||
if($this->getData(['theme', 'menu', 'margin'])) {
|
||||
if(
|
||||
$this->getData(['theme', 'menu', 'position']) === 'site-first'
|
||||
OR $this->getData(['theme', 'header', 'position']) === 'body'
|
||||
OR $this->getData(['theme', 'menu', 'position']) === 'site-second'
|
||||
) {
|
||||
$css .= 'nav{margin:20px 20px 0 20px}';
|
||||
}
|
||||
|
@ -205,7 +205,7 @@ class theme extends common {
|
||||
'auto auto' => 'Automatique',
|
||||
//'contain' => 'Responsive (contain)',
|
||||
'cover' => 'Responsive',
|
||||
'100% 100%' => 'Image étirée',
|
||||
'100% 100%' => 'Image étirée'
|
||||
];
|
||||
|
||||
|
||||
|
2
core/vendor/filemanager/config/config.php
vendored
2
core/vendor/filemanager/config/config.php
vendored
@ -450,7 +450,7 @@ $config = array(
|
||||
# 3 / auto = auto;
|
||||
# 4 / crop= resize and crop;
|
||||
*/
|
||||
'fixed_image_creation_option' => array( 'landscape', 'portrait' ), //set the type of the crop
|
||||
'fixed_image_creation_option' => array( 'landscape' ), //set the type of the crop
|
||||
|
||||
|
||||
// New image resized creation with relative path inside to upload folder after uploading (thumbnails in relative mode)
|
||||
|
2
core/vendor/tinymce/link_list.json
vendored
2
core/vendor/tinymce/link_list.json
vendored
@ -1 +1 @@
|
||||
[{"title":"Priv\u00e9e","value":"?privee"},{"title":"Blog","value":"?blog"},{"title":"Galeries","value":"?galeries"},{"title":"Site de Zwii","value":"?site-de-zwii"},{"title":"Contact","value":"?contact"},{"title":"Accueil","value":"?accueil","menu":[{"title":"Enfant","value":"?enfant"},{"title":"Mise en page","value":"?mise-en-page"}]}]
|
||||
[{"title":"Accueil","value":"?accueil","menu":[{"title":"Enfant","value":"?enfant"},{"title":"Mise en page","value":"?mise-en-page"}]},{"title":"Priv\u00e9e","value":"?privee"},{"title":"Blog","value":"?blog"},{"title":"Galeries","value":"?galeries"},{"title":"Site de Zwii","value":"?site-de-zwii"},{"title":"Contact","value":"?contact"}]
|
5
site/tmp/.htaccess
Normal file
5
site/tmp/.htaccess
Normal file
@ -0,0 +1,5 @@
|
||||
# Bloque l'accès htaccess
|
||||
<Files .htaccess>
|
||||
Order deny,allow
|
||||
Deny from all
|
||||
</Files>
|
Loading…
Reference in New Issue
Block a user