From 4de7766cb028a59e532796b9dbc0c7afaef8724e Mon Sep 17 00:00:00 2001 From: Sven Slootweg Date: Sun, 7 Jul 2013 01:40:21 +0200 Subject: [PATCH] Bootstrap stuff --- public_html/includes/base.php | 18 ++++++++++++++++++ public_html/index.php | 14 ++++++++++++++ public_html/locales/english.lng | 24 ++++++++++++++++++++++++ public_html/modules/index.php | 16 ++++++++++++++++ public_html/rewrite.php | 28 ++++++++++++++++++++++++++++ 5 files changed, 100 insertions(+) create mode 100644 public_html/includes/base.php create mode 100644 public_html/index.php create mode 100644 public_html/locales/english.lng create mode 100644 public_html/modules/index.php create mode 100644 public_html/rewrite.php diff --git a/public_html/includes/base.php b/public_html/includes/base.php new file mode 100644 index 0000000..a9c4cf8 --- /dev/null +++ b/public_html/includes/base.php @@ -0,0 +1,18 @@ +ignore_query = true; +$router->allow_slash = true; + +$router->routes = array( + 0 => array( + "^/$" => "modules/index.php" + ) +); + +$router->RouteRequest();