summaryrefslogtreecommitdiff
path: root/setup/cleanupaftersetup.php
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2019-11-17 20:45:02 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2019-11-17 20:45:02 +0100
commit8df3db566a3a937b45ebf11adb90d265e6f5e2d4 (patch)
tree4d541098d751d5a9acf8c12f6fb9f308ace066ac /setup/cleanupaftersetup.php
downloadflyspray-8df3db566a3a937b45ebf11adb90d265e6f5e2d4.tar.xz
initial checking of customized version 1.0rc9
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>';
+?>