Installation security increased

After installation, the folder ```install``` will be renamed to ```installed_$time```. This way, in case you forget to remove the folder, it will be harder to spot.
This commit is contained in:
cosme12
2015-04-07 17:54:20 -03:00
parent 5c394690a8
commit 1427e23a82
+4 -1
View File
@@ -13,7 +13,10 @@ Thanks for installing TravianZ.
All the files are placed. The database is created, so you can now start playing on your own Travian. All the files are placed. The database is created, so you can now start playing on your own Travian.
</p> </p>
<?php include("../GameEngine/config.php"); ?> <?php include("../GameEngine/config.php");
$time = time();
rename("../install/","../installed_".$time);
?>
<p> <p>
<center><font size="4"><a href="<?php echo HOMEPAGE; ?>">> My TravianZ homepage <</font></a></center> <center><font size="4"><a href="<?php echo HOMEPAGE; ?>">> My TravianZ homepage <</font></a></center>
</p> </p>