Permalink
Browse files

Avoid hardening config (#11)

by removing HTTP
  • Loading branch information...
Kcchouette authored and atmoner committed Jul 16, 2018
1 parent 3bafffe commit 9b06a407fc4d10e1909a1af7ad723fd2e6c33e51
Showing with 1 addition and 3 deletions.
  1. +1 −3 install.php
@@ -326,14 +326,12 @@ function redirect($location){
if(empty($_SESSION['step_four']))
header('Location: install.php?step=4');
else {
$pathh = substr($var['path'], 0, -12);
$hote = $_SERVER['HTTP_HOST'];
echo "Your install is ok ! <br />";
echo "Thinks to: <br /><br />";
echo "- remove install.php of your ftp <br />";
echo "- remove libs/db.sql <br />";
echo "- chmod 644 libs/db.php";
echo "<br /><br /><a href=\"http://".$hote.$pathh."\" target=\"_blank\" class=\"button\">Go to your website</a>";
echo "<br /><br /><a href=\"index.php\" target=\"_blank\" class=\"button\">Go to your website</a>";
}
}

0 comments on commit 9b06a40

Please sign in to comment.