summaryrefslogtreecommitdiff
path: root/setup/cleanupaftersetup.php
diff options
context:
space:
mode:
Diffstat (limited to 'setup/cleanupaftersetup.php')
-rw-r--r--setup/cleanupaftersetup.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/setup/cleanupaftersetup.php b/setup/cleanupaftersetup.php
new file mode 100644
index 0000000..a62ed7d
--- /dev/null
+++ b/setup/cleanupaftersetup.php
@@ -0,0 +1,7 @@
+<?php
+chdir('..');
+$hide='_'.md5(rand().time()).'_setup';
+rename('setup', $hide); # Hide the setup dir with a random name, not deleting it. Just in case to have the complete software together or something got wrong.
+chmod($hide, 0400); # make it extra unaccessible (directory x bit) just in case the dir lands on search engines index..
+echo '<a href="../">You can now use Flyspray.</a>';
+?>