cleanup
Tobias Leich [Sun, 15 Nov 2009 14:46:48 +0000 (15:46 +0100)]
index.php [deleted file]

diff --git a/index.php b/index.php
deleted file mode 100644 (file)
index 6b7ba98..0000000
--- a/index.php
+++ /dev/null
@@ -1,16 +0,0 @@
-<?php
-
-$layout = file_get_contents('layout.html');
-
-$_SERVER{'QUERY_STRING'} = preg_replace('/\.\.\//', '', $_SERVER{'QUERY_STRING'});
-
-if(file_exists("pages/{$_SERVER{'QUERY_STRING'}}.html-inc"))
-{
-       echo strtr($layout, array('<div id="main" />' => '<div id="main">' . file_get_contents("pages/{$_SERVER{'QUERY_STRING'}}.html-inc") . '</div>'));
-}
-else
-{
-       echo strtr($layout, array('<div id="main" />' => '<div id="main">' . file_get_contents("pages/index.html-inc") . '</div>'));
-}
-
-?>
\ No newline at end of file