diff --git a/CHANGES.md b/CHANGES.md index 802bd02f..0eea657a 100755 --- a/CHANGES.md +++ b/CHANGES.md @@ -6,6 +6,7 @@ - Erreur des noms de champ barre des membres dans le pied de page. - Génération de l'image tag, amélioration du code et du message d'erreur. - Edition de page, erreur lors de la sélection d'une icône de menu. + - Problème lors de l'installation, impossibilité d'obtenir l'écran de configuration. ## version 10.2.00 - Mise à jour : diff --git a/README.md b/README.md index 016b3303..dbda95b1 100755 --- a/README.md +++ b/README.md @@ -1,11 +1,11 @@ ![](https://img.shields.io/github/last-commit/fredtempez/ZwiiCMS/master) ![](https://img.shields.io/github/release-date/fredtempez/ZwiiCMS) -# ZwiiCMS 10.2.00 +# ZwiiCMS 10.2.01 Zwii est un CMS sans base de données (flat-file) qui permet de créer et gérer facilement un site web sans aucune connaissance en programmation. -ZwiiCMS a été créé par un développeur de talent, [Rémi Jean](https://remijean.fr/). Il est désormais maintenu par [Frédéric Tempez](mailto:frederic.tempe«@outlook.com) aidé de la communauté. +ZwiiCMS a été créé par un développeur de talent, [Rémi Jean](https://remijean.fr/). Il est désormais maintenu par Fred Tempez aidé de la communauté. [Site](http://zwiicms.com/) - [Forum](http://forum.zwiicms.com/) - [Version initiale](https://github.com/remijean/ZwiiCMS/) - [GitHub](https://github.com/fredtempez/ZwiiCMS) diff --git a/core/class/SitemapGenerator.class.php b/core/class/SitemapGenerator.class.php old mode 100755 new mode 100644 diff --git a/core/class/autoload.php b/core/class/autoload.php old mode 100755 new mode 100644 diff --git a/core/class/helper.class.php b/core/class/helper.class.php old mode 100755 new mode 100644 diff --git a/core/class/jsondb/Dot.class.php b/core/class/jsondb/Dot.class.php old mode 100755 new mode 100644 diff --git a/core/class/jsondb/JsonDb.class.php b/core/class/jsondb/JsonDb.class.php old mode 100755 new mode 100644 diff --git a/core/class/phpmailer/Exception.class.php b/core/class/phpmailer/Exception.class.php old mode 100755 new mode 100644 diff --git a/core/class/phpmailer/PHPMailer.class.php b/core/class/phpmailer/PHPMailer.class.php old mode 100755 new mode 100644 diff --git a/core/class/phpmailer/SMTP.class.php b/core/class/phpmailer/SMTP.class.php old mode 100755 new mode 100644 diff --git a/core/class/template.class.php b/core/class/template.class.php old mode 100755 new mode 100644 diff --git a/core/core.js.php b/core/core.js.php old mode 100755 new mode 100644 diff --git a/core/core.php b/core/core.php old mode 100755 new mode 100644 index d7423090..9f11f47a --- a/core/core.php +++ b/core/core.php @@ -1315,11 +1315,13 @@ class common { // Version 10.2.00 if ($this->getData(['core', 'dataVersion']) < 10200) { // Paramètres du compte connecté - $this->setData(['user', $this->getUser('id'), 'connectFail',0]); - $this->setData(['user', $this->getUser('id'), 'connectTimeout',0]); - $this->setData(['user', $this->getUser('id'), 'accessTimer',0]); - $this->setData(['user', $this->getUser('id'), 'accessUrl','']); - $this->setData(['user', $this->getUser('id'), 'accessCsrf',$_SESSION['csrf']]); + if ($this->getUser('id')) { + $this->setData(['user', $this->getUser('id'), 'connectFail',0]); + $this->setData(['user', $this->getUser('id'), 'connectTimeout',0]); + $this->setData(['user', $this->getUser('id'), 'accessTimer',0]); + $this->setData(['user', $this->getUser('id'), 'accessUrl','']); + $this->setData(['user', $this->getUser('id'), 'accessCsrf',$_SESSION['csrf']]); + } // Paramètres de sécurité $this->setData(['config', 'connect', 'attempt',999]); $this->setData(['config', 'connect', 'timeout',0]); diff --git a/core/layout/blank.php b/core/layout/blank.php old mode 100755 new mode 100644 diff --git a/core/layout/light.php b/core/layout/light.php old mode 100755 new mode 100644 diff --git a/core/layout/mail.php b/core/layout/mail.php old mode 100755 new mode 100644 diff --git a/core/layout/main.php b/core/layout/main.php old mode 100755 new mode 100644 diff --git a/core/module/config/config.php b/core/module/config/config.php old mode 100755 new mode 100644 diff --git a/core/module/config/view/backup/backup.php b/core/module/config/view/backup/backup.php old mode 100755 new mode 100644 diff --git a/core/module/config/view/index/index.js.php b/core/module/config/view/index/index.js.php old mode 100755 new mode 100644 diff --git a/core/module/config/view/index/index.php b/core/module/config/view/index/index.php old mode 100755 new mode 100644 diff --git a/core/module/config/view/manage/manage.php b/core/module/config/view/manage/manage.php old mode 100755 new mode 100644 diff --git a/core/module/config/view/restore/restore.php b/core/module/config/view/restore/restore.php old mode 100755 new mode 100644 diff --git a/core/module/config/view/script/script.php b/core/module/config/view/script/script.php old mode 100755 new mode 100644 diff --git a/core/module/install/install.php b/core/module/install/install.php old mode 100755 new mode 100644 diff --git a/core/module/install/ressource/defaultdata.php b/core/module/install/ressource/defaultdata.php old mode 100755 new mode 100644 diff --git a/core/module/install/view/index/index.js.php b/core/module/install/view/index/index.js.php old mode 100755 new mode 100644 diff --git a/core/module/install/view/index/index.php b/core/module/install/view/index/index.php old mode 100755 new mode 100644 diff --git a/core/module/install/view/update/update.js.php b/core/module/install/view/update/update.js.php old mode 100755 new mode 100644 diff --git a/core/module/install/view/update/update.php b/core/module/install/view/update/update.php old mode 100755 new mode 100644 diff --git a/core/module/maintenance/maintenance.php b/core/module/maintenance/maintenance.php old mode 100755 new mode 100644 diff --git a/core/module/maintenance/view/index/index.php b/core/module/maintenance/view/index/index.php old mode 100755 new mode 100644 diff --git a/core/module/page/page.php b/core/module/page/page.php old mode 100755 new mode 100644 diff --git a/core/module/page/view/edit/edit.js.php b/core/module/page/view/edit/edit.js.php old mode 100755 new mode 100644 diff --git a/core/module/page/view/edit/edit.php b/core/module/page/view/edit/edit.php old mode 100755 new mode 100644 diff --git a/core/module/search/search.php b/core/module/search/search.php old mode 100755 new mode 100644 diff --git a/core/module/search/view/index/index.php b/core/module/search/view/index/index.php old mode 100755 new mode 100644 diff --git a/core/module/search/view/result/result.php b/core/module/search/view/result/result.php old mode 100755 new mode 100644 diff --git a/core/module/sitemap/sitemap.php b/core/module/sitemap/sitemap.php old mode 100755 new mode 100644 diff --git a/core/module/sitemap/view/index/index.php b/core/module/sitemap/view/index/index.php old mode 100755 new mode 100644 diff --git a/core/module/theme/theme.php b/core/module/theme/theme.php old mode 100755 new mode 100644 diff --git a/core/module/theme/view/admin/admin.js.php b/core/module/theme/view/admin/admin.js.php old mode 100755 new mode 100644 diff --git a/core/module/theme/view/admin/admin.php b/core/module/theme/view/admin/admin.php old mode 100755 new mode 100644 diff --git a/core/module/theme/view/advanced/advanced.js.php b/core/module/theme/view/advanced/advanced.js.php old mode 100755 new mode 100644 diff --git a/core/module/theme/view/advanced/advanced.php b/core/module/theme/view/advanced/advanced.php old mode 100755 new mode 100644 diff --git a/core/module/theme/view/body/body.js.php b/core/module/theme/view/body/body.js.php old mode 100755 new mode 100644 diff --git a/core/module/theme/view/body/body.php b/core/module/theme/view/body/body.php old mode 100755 new mode 100644 diff --git a/core/module/theme/view/footer/footer.js.php b/core/module/theme/view/footer/footer.js.php old mode 100755 new mode 100644 diff --git a/core/module/theme/view/footer/footer.php b/core/module/theme/view/footer/footer.php old mode 100755 new mode 100644 diff --git a/core/module/theme/view/header/header.js.php b/core/module/theme/view/header/header.js.php old mode 100755 new mode 100644 diff --git a/core/module/theme/view/header/header.php b/core/module/theme/view/header/header.php old mode 100755 new mode 100644 diff --git a/core/module/theme/view/index/index.js.php b/core/module/theme/view/index/index.js.php old mode 100755 new mode 100644 diff --git a/core/module/theme/view/index/index.php b/core/module/theme/view/index/index.php old mode 100755 new mode 100644 diff --git a/core/module/theme/view/manage/manage.php b/core/module/theme/view/manage/manage.php old mode 100755 new mode 100644 diff --git a/core/module/theme/view/menu/menu.js.php b/core/module/theme/view/menu/menu.js.php old mode 100755 new mode 100644 diff --git a/core/module/theme/view/menu/menu.php b/core/module/theme/view/menu/menu.php old mode 100755 new mode 100644 diff --git a/core/module/theme/view/site/site.js.php b/core/module/theme/view/site/site.js.php old mode 100755 new mode 100644 diff --git a/core/module/theme/view/site/site.php b/core/module/theme/view/site/site.php old mode 100755 new mode 100644 diff --git a/core/module/user/user.php b/core/module/user/user.php old mode 100755 new mode 100644 diff --git a/core/module/user/view/add/add.js.php b/core/module/user/view/add/add.js.php old mode 100755 new mode 100644 diff --git a/core/module/user/view/add/add.php b/core/module/user/view/add/add.php old mode 100755 new mode 100644 diff --git a/core/module/user/view/edit/edit.js.php b/core/module/user/view/edit/edit.js.php old mode 100755 new mode 100644 diff --git a/core/module/user/view/edit/edit.php b/core/module/user/view/edit/edit.php old mode 100755 new mode 100644 diff --git a/core/module/user/view/forgot/forgot.php b/core/module/user/view/forgot/forgot.php old mode 100755 new mode 100644 diff --git a/core/module/user/view/index/index.js.php b/core/module/user/view/index/index.js.php old mode 100755 new mode 100644 diff --git a/core/module/user/view/index/index.php b/core/module/user/view/index/index.php old mode 100755 new mode 100644 diff --git a/core/module/user/view/login/login.php b/core/module/user/view/login/login.php old mode 100755 new mode 100644 diff --git a/core/module/user/view/reset/reset.php b/core/module/user/view/reset/reset.php old mode 100755 new mode 100644 diff --git a/core/vendor/filemanager/UploadHandler.php b/core/vendor/filemanager/UploadHandler.php old mode 100755 new mode 100644 diff --git a/core/vendor/filemanager/ajax_calls.php b/core/vendor/filemanager/ajax_calls.php old mode 100755 new mode 100644 diff --git a/core/vendor/filemanager/config/config.php b/core/vendor/filemanager/config/config.php old mode 100755 new mode 100644 diff --git a/core/vendor/filemanager/dialog.php b/core/vendor/filemanager/dialog.php old mode 100755 new mode 100644 diff --git a/core/vendor/filemanager/execute.php b/core/vendor/filemanager/execute.php old mode 100755 new mode 100644 diff --git a/core/vendor/filemanager/force_download.php b/core/vendor/filemanager/force_download.php old mode 100755 new mode 100644 diff --git a/core/vendor/filemanager/include/FtpClient.php b/core/vendor/filemanager/include/FtpClient.php old mode 100755 new mode 100644 diff --git a/core/vendor/filemanager/include/FtpException.php b/core/vendor/filemanager/include/FtpException.php old mode 100755 new mode 100644 diff --git a/core/vendor/filemanager/include/FtpWrapper.php b/core/vendor/filemanager/include/FtpWrapper.php old mode 100755 new mode 100644 diff --git a/core/vendor/filemanager/include/Response.php b/core/vendor/filemanager/include/Response.php old mode 100755 new mode 100644 diff --git a/core/vendor/filemanager/include/ftp_class.php b/core/vendor/filemanager/include/ftp_class.php old mode 100755 new mode 100644 diff --git a/core/vendor/filemanager/include/mime_type_lib.php b/core/vendor/filemanager/include/mime_type_lib.php old mode 100755 new mode 100644 diff --git a/core/vendor/filemanager/include/php_image_magician.php b/core/vendor/filemanager/include/php_image_magician.php old mode 100755 new mode 100644 diff --git a/core/vendor/filemanager/include/utils.php b/core/vendor/filemanager/include/utils.php old mode 100755 new mode 100644 diff --git a/core/vendor/filemanager/index.php b/core/vendor/filemanager/index.php old mode 100755 new mode 100644 diff --git a/core/vendor/filemanager/lang/az_AZ.php b/core/vendor/filemanager/lang/az_AZ.php old mode 100755 new mode 100644 diff --git a/core/vendor/filemanager/lang/bg_BG.php b/core/vendor/filemanager/lang/bg_BG.php old mode 100755 new mode 100644 diff --git a/core/vendor/filemanager/lang/ca.php b/core/vendor/filemanager/lang/ca.php old mode 100755 new mode 100644 diff --git a/core/vendor/filemanager/lang/cs.php b/core/vendor/filemanager/lang/cs.php old mode 100755 new mode 100644 diff --git a/core/vendor/filemanager/lang/da.php b/core/vendor/filemanager/lang/da.php old mode 100755 new mode 100644 diff --git a/core/vendor/filemanager/lang/de.php b/core/vendor/filemanager/lang/de.php old mode 100755 new mode 100644 diff --git a/core/vendor/filemanager/lang/el_GR.php b/core/vendor/filemanager/lang/el_GR.php old mode 100755 new mode 100644 diff --git a/core/vendor/filemanager/lang/en_EN.php b/core/vendor/filemanager/lang/en_EN.php old mode 100755 new mode 100644 diff --git a/core/vendor/filemanager/lang/es.php b/core/vendor/filemanager/lang/es.php old mode 100755 new mode 100644 diff --git a/core/vendor/filemanager/lang/fa.php b/core/vendor/filemanager/lang/fa.php old mode 100755 new mode 100644 diff --git a/core/vendor/filemanager/lang/fr_FR.php b/core/vendor/filemanager/lang/fr_FR.php old mode 100755 new mode 100644 diff --git a/core/vendor/filemanager/lang/he_IL.php b/core/vendor/filemanager/lang/he_IL.php old mode 100755 new mode 100644 diff --git a/core/vendor/filemanager/lang/hr.php b/core/vendor/filemanager/lang/hr.php old mode 100755 new mode 100644 diff --git a/core/vendor/filemanager/lang/hu_HU.php b/core/vendor/filemanager/lang/hu_HU.php old mode 100755 new mode 100644 diff --git a/core/vendor/filemanager/lang/id.php b/core/vendor/filemanager/lang/id.php old mode 100755 new mode 100644 diff --git a/core/vendor/filemanager/lang/it.php b/core/vendor/filemanager/lang/it.php old mode 100755 new mode 100644 diff --git a/core/vendor/filemanager/lang/ja.php b/core/vendor/filemanager/lang/ja.php old mode 100755 new mode 100644 diff --git a/core/vendor/filemanager/lang/languages.php b/core/vendor/filemanager/lang/languages.php old mode 100755 new mode 100644 diff --git a/core/vendor/filemanager/lang/lt.php b/core/vendor/filemanager/lang/lt.php old mode 100755 new mode 100644 diff --git a/core/vendor/filemanager/lang/mn_MN.php b/core/vendor/filemanager/lang/mn_MN.php old mode 100755 new mode 100644 diff --git a/core/vendor/filemanager/lang/nb_NO.php b/core/vendor/filemanager/lang/nb_NO.php old mode 100755 new mode 100644 diff --git a/core/vendor/filemanager/lang/nl.php b/core/vendor/filemanager/lang/nl.php old mode 100755 new mode 100644 diff --git a/core/vendor/filemanager/lang/nn_NO.php b/core/vendor/filemanager/lang/nn_NO.php old mode 100755 new mode 100644 diff --git a/core/vendor/filemanager/lang/pl.php b/core/vendor/filemanager/lang/pl.php old mode 100755 new mode 100644 diff --git a/core/vendor/filemanager/lang/pt_BR.php b/core/vendor/filemanager/lang/pt_BR.php old mode 100755 new mode 100644 diff --git a/core/vendor/filemanager/lang/pt_PT.php b/core/vendor/filemanager/lang/pt_PT.php old mode 100755 new mode 100644 diff --git a/core/vendor/filemanager/lang/ro.php b/core/vendor/filemanager/lang/ro.php old mode 100755 new mode 100644 diff --git a/core/vendor/filemanager/lang/ru.php b/core/vendor/filemanager/lang/ru.php old mode 100755 new mode 100644 diff --git a/core/vendor/filemanager/lang/sk.php b/core/vendor/filemanager/lang/sk.php old mode 100755 new mode 100644 diff --git a/core/vendor/filemanager/lang/sl.php b/core/vendor/filemanager/lang/sl.php old mode 100755 new mode 100644 diff --git a/core/vendor/filemanager/lang/sv_SE.php b/core/vendor/filemanager/lang/sv_SE.php old mode 100755 new mode 100644 diff --git a/core/vendor/filemanager/lang/th_TH.php b/core/vendor/filemanager/lang/th_TH.php old mode 100755 new mode 100644 diff --git a/core/vendor/filemanager/lang/tr_TR.php b/core/vendor/filemanager/lang/tr_TR.php old mode 100755 new mode 100644 diff --git a/core/vendor/filemanager/lang/uk_UA.php b/core/vendor/filemanager/lang/uk_UA.php old mode 100755 new mode 100644 diff --git a/core/vendor/filemanager/lang/vi.php b/core/vendor/filemanager/lang/vi.php old mode 100755 new mode 100644 diff --git a/core/vendor/filemanager/lang/zh_CN.php b/core/vendor/filemanager/lang/zh_CN.php old mode 100755 new mode 100644 diff --git a/core/vendor/filemanager/upload.php b/core/vendor/filemanager/upload.php old mode 100755 new mode 100644 diff --git a/core/vendor/tinymce/links.php b/core/vendor/tinymce/links.php old mode 100755 new mode 100644 diff --git a/index.php b/index.php old mode 100755 new mode 100644 diff --git a/module/blog/blog.php b/module/blog/blog.php old mode 100755 new mode 100644 diff --git a/module/blog/view/add/add.js.php b/module/blog/view/add/add.js.php old mode 100755 new mode 100644 diff --git a/module/blog/view/add/add.php b/module/blog/view/add/add.php old mode 100755 new mode 100644 diff --git a/module/blog/view/article/article.js.php b/module/blog/view/article/article.js.php old mode 100755 new mode 100644 diff --git a/module/blog/view/article/article.php b/module/blog/view/article/article.php old mode 100755 new mode 100644 diff --git a/module/blog/view/comment/comment.js.php b/module/blog/view/comment/comment.js.php old mode 100755 new mode 100644 diff --git a/module/blog/view/comment/comment.php b/module/blog/view/comment/comment.php old mode 100755 new mode 100644 diff --git a/module/blog/view/config/config.js.php b/module/blog/view/config/config.js.php old mode 100755 new mode 100644 diff --git a/module/blog/view/config/config.php b/module/blog/view/config/config.php old mode 100755 new mode 100644 diff --git a/module/blog/view/edit/edit.js.php b/module/blog/view/edit/edit.js.php old mode 100755 new mode 100644 diff --git a/module/blog/view/edit/edit.php b/module/blog/view/edit/edit.php old mode 100755 new mode 100644 diff --git a/module/blog/view/index/index.php b/module/blog/view/index/index.php old mode 100755 new mode 100644 diff --git a/module/form/form.php b/module/form/form.php old mode 100755 new mode 100644 diff --git a/module/form/view/config/config.js.php b/module/form/view/config/config.js.php old mode 100755 new mode 100644 diff --git a/module/form/view/config/config.php b/module/form/view/config/config.php old mode 100755 new mode 100644 diff --git a/module/form/view/data/data.js.php b/module/form/view/data/data.js.php old mode 100755 new mode 100644 diff --git a/module/form/view/data/data.php b/module/form/view/data/data.php old mode 100755 new mode 100644 diff --git a/module/form/view/index/index.js.php b/module/form/view/index/index.js.php old mode 100755 new mode 100644 diff --git a/module/form/view/index/index.php b/module/form/view/index/index.php old mode 100755 new mode 100644 diff --git a/module/gallery/gallery.php b/module/gallery/gallery.php old mode 100755 new mode 100644 diff --git a/module/gallery/ressource/defaultdata.php b/module/gallery/ressource/defaultdata.php old mode 100755 new mode 100644 diff --git a/module/gallery/view/config/config.js.php b/module/gallery/view/config/config.js.php old mode 100755 new mode 100644 diff --git a/module/gallery/view/config/config.php b/module/gallery/view/config/config.php old mode 100755 new mode 100644 diff --git a/module/gallery/view/edit/edit.js.php b/module/gallery/view/edit/edit.js.php old mode 100755 new mode 100644 diff --git a/module/gallery/view/edit/edit.php b/module/gallery/view/edit/edit.php old mode 100755 new mode 100644 diff --git a/module/gallery/view/gallery/gallery.js.php b/module/gallery/view/gallery/gallery.js.php old mode 100755 new mode 100644 diff --git a/module/gallery/view/gallery/gallery.php b/module/gallery/view/gallery/gallery.php old mode 100755 new mode 100644 diff --git a/module/gallery/view/index/index.php b/module/gallery/view/index/index.php old mode 100755 new mode 100644 diff --git a/module/gallery/view/theme/theme.php b/module/gallery/view/theme/theme.php old mode 100755 new mode 100644 diff --git a/module/news/news.php b/module/news/news.php old mode 100755 new mode 100644 diff --git a/module/news/view/add/add.js.php b/module/news/view/add/add.js.php old mode 100755 new mode 100644 diff --git a/module/news/view/add/add.php b/module/news/view/add/add.php old mode 100755 new mode 100644 diff --git a/module/news/view/config/config.js.php b/module/news/view/config/config.js.php old mode 100755 new mode 100644 diff --git a/module/news/view/config/config.php b/module/news/view/config/config.php old mode 100755 new mode 100644 diff --git a/module/news/view/edit/edit.js.php b/module/news/view/edit/edit.js.php old mode 100755 new mode 100644 diff --git a/module/news/view/edit/edit.php b/module/news/view/edit/edit.php old mode 100755 new mode 100644 diff --git a/module/news/view/index/index.php b/module/news/view/index/index.php old mode 100755 new mode 100644 diff --git a/module/redirection/redirection.php b/module/redirection/redirection.php old mode 100755 new mode 100644 diff --git a/module/redirection/view/config/config.php b/module/redirection/view/config/config.php old mode 100755 new mode 100644 diff --git a/module/redirection/view/index/index.js.php b/module/redirection/view/index/index.js.php old mode 100755 new mode 100644 diff --git a/module/redirection/view/index/index.php b/module/redirection/view/index/index.php old mode 100755 new mode 100644