Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/setup/cleanupaftersetup.php
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2020-02-01 09:05:48 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2020-02-01 09:05:48 +0100
commit6854cb3f4d8219cf1829e32122eb2502a916eae9 (patch)
tree350feb504587d932e02837a1442b059759927646 /setup/cleanupaftersetup.php
initial checkin
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>';
+?>