summaryrefslogtreecommitdiff
path: root/controller
diff options
context:
space:
mode:
Diffstat (limited to 'controller')
-rw-r--r--controller/installation.php3
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>');