From e91dfdbc7549b60a6bc2decff885a26f7fbb365f Mon Sep 17 00:00:00 2001 From: vincent-peugnet Date: Thu, 9 Apr 2020 00:36:37 +0200 Subject: remember me with hash comparaison close #68 --- app/class/Application.php | 32 +++++++++++++++++++++----------- 1 file changed, 21 insertions(+), 11 deletions(-) (limited to 'app/class/Application.php') diff --git a/app/class/Application.php b/app/class/Application.php index 70c899f..4ddf37e 100644 --- a/app/class/Application.php +++ b/app/class/Application.php @@ -41,7 +41,7 @@ class Application } else { if(Config::readconfig()) { - if(!Config::checkbasepath() || empty(Config::pagetable()) || !is_dir(Model::RENDER_DIR) || !Config::checkdomain()) { + if(!Config::checkbasepath() || empty(Config::pagetable()) || !is_dir(Model::RENDER_DIR) || !Config::checkdomain() || empty(Config::secretkey())) { echo ''; $this->configform(); exit; @@ -84,18 +87,25 @@ class Application
-

- -

- -

Leave it empty if W-CMS is in your root folder, otherwise, indicate the subfolder(s) in witch you installed the CMS

+

+ +

+ +

Leave it empty if W-CMS is in your root folder, otherwise, indicate the subfolder(s) in witch you installed the CMS

-

- -

- -

Set the name of the first folder that is going to store all your work

+

+ +

+ +

Set the name of the first folder that is going to store all your work

+
+
+

+ +

+ +

The secret key is used to secure cookies. There are no need to remind it. (16 to 128 characters)

-- cgit v1.2.3