forked from ZwiiCMS-Team/ZwiiCMS
[9.3.00] nettoyer theme.css + gitignore
This commit is contained in:
parent
cc9fa44052
commit
82967f0e1b
33
.gitignore
vendored
Normal file
33
.gitignore
vendored
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
# Fichiers temporaires
|
||||||
|
site/tmp/*.zip
|
||||||
|
site/tmp/*.gz
|
||||||
|
|
||||||
|
# Sauvegardes
|
||||||
|
site/backup/*
|
||||||
|
|
||||||
|
# Fichiers de données
|
||||||
|
site/data/*.json
|
||||||
|
site/data/*.css
|
||||||
|
site/data/fr/*.json
|
||||||
|
|
||||||
|
|
||||||
|
# Fichiers uploadés
|
||||||
|
site/file/source/*
|
||||||
|
site/file/thumb/*
|
||||||
|
|
||||||
|
# Dossiers vides dans GitHub
|
||||||
|
!.gitkeep
|
||||||
|
/.git
|
||||||
|
|
||||||
|
# PHPStorm
|
||||||
|
.idea/
|
||||||
|
|
||||||
|
# Trucs
|
||||||
|
core/vendor/tinymce/link_list.json
|
||||||
|
site/tmp/.htaccess
|
||||||
|
.vscode/*
|
||||||
|
site/data/body.inc.html
|
||||||
|
site/data/head.inc.html
|
||||||
|
sitemap.xml.gz
|
||||||
|
sitemap.xml
|
||||||
|
robots.txt
|
@ -1090,6 +1090,15 @@ class common {
|
|||||||
$this->setData(['core', 'dataVersion', 9223]);
|
$this->setData(['core', 'dataVersion', 9223]);
|
||||||
$this->saveData();
|
$this->saveData();
|
||||||
}
|
}
|
||||||
|
// Version 9.3.00
|
||||||
|
if($this->getData(['core', 'dataVersion']) < 9300) {
|
||||||
|
// Forcer la régénération du thème
|
||||||
|
if (file_exists(self::DATA_DIR.'theme.css') === false) {
|
||||||
|
unlink (self::DATA_DIR.'theme.css');
|
||||||
|
}
|
||||||
|
$this->setData(['core', 'dataVersion', 9300]);
|
||||||
|
$this->saveData();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user