summaryrefslogtreecommitdiff
path: root/www/index.php
diff options
context:
space:
mode:
authorAlex Xu <alex_y_xu@yahoo.ca>2014-03-05 16:56:45 -0500
committerAlex Xu <alex_y_xu@yahoo.ca>2014-03-05 16:56:45 -0500
commit3a2f43e8d5c85a116845c360902f268fd2798ffa (patch)
tree3fb05200422ac1a544d2cd93f938b8408e21e53d /www/index.php
parent7b49a8bed0a6c8e50adba8fc6c53c39d330bfa0c (diff)
downloadhtml5ks-3a2f43e8d5c85a116845c360902f268fd2798ffa.tar.xz
html5ks-3a2f43e8d5c85a116845c360902f268fd2798ffa.zip
add (untested) php and htaccess
Diffstat (limited to 'www/index.php')
-rw-r--r--www/index.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/www/index.php b/www/index.php
new file mode 100644
index 0000000..49fbbec
--- /dev/null
+++ b/www/index.php
@@ -0,0 +1,3 @@
+<?php
+if (!isset($_COOKIE["warned"])) header("Location: warn.php");
+else echo file_get_contents("index.html");