diff options
author | polo <ordipolo@gmx.fr> | 2021-04-20 23:23:09 +0200 |
---|---|---|
committer | polo <ordipolo@gmx.fr> | 2021-04-20 23:23:09 +0200 |
commit | 59e441ba550f1842db69f36de7e7ebf7ed2e633e (patch) | |
tree | e4001103d671f058d7c036d923168cdbbe007961 /controller/installation.php | |
parent | 16f25f58f58dbdbdbbdc65d8dbbe1a3258485485 (diff) | |
download | melaine-59e441ba550f1842db69f36de7e7ebf7ed2e633e.zip |
mot de passe
Diffstat (limited to 'controller/installation.php')
-rw-r--r-- | controller/installation.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/controller/installation.php b/controller/installation.php index f7d42fc..a410169 100644 --- a/controller/installation.php +++ b/controller/installation.php | |||
@@ -18,9 +18,10 @@ function installation() | |||
18 | // echo('file: ' . __FILE__ . '<br />'); | 18 | // echo('file: ' . __FILE__ . '<br />'); |
19 | // echo('dir: ' . __DIR__. '<br />'); | 19 | // echo('dir: ' . __DIR__. '<br />'); |
20 | 20 | ||
21 | // créer le .htaccess | ||
22 | //$lien_htaccess = $_SERVER['SERVER_NAME'] . "/.htaccess"; | 21 | //$lien_htaccess = $_SERVER['SERVER_NAME'] . "/.htaccess"; |
23 | //$nomDuSite = "melaine"; | 22 | //$nomDuSite = "melaine"; |
23 | |||
24 | // créer le .htaccess | ||
24 | if(!file_exists(".htaccess")) | 25 | if(!file_exists(".htaccess")) |
25 | { | 26 | { |
26 | echo('<p style="color: red;" >Le .htaccess semble absent ce qui rend le site vulnérable aux attaques, veuillez contacter l\'administrateur.</p>'); | 27 | echo('<p style="color: red;" >Le .htaccess semble absent ce qui rend le site vulnérable aux attaques, veuillez contacter l\'administrateur.</p>'); |