From 9c4afbed2310aa0c4679d11b9f568c234d202554 Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Mon, 4 Jan 2016 15:12:59 +0100 Subject: Initial commit --- public/.htaccess | 15 +++++++++++++++ public/index.php | 28 ++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 public/.htaccess create mode 100644 public/index.php (limited to 'public') diff --git a/public/.htaccess b/public/.htaccess new file mode 100644 index 0000000..77827ae --- /dev/null +++ b/public/.htaccess @@ -0,0 +1,15 @@ + + + Options -MultiViews + + + RewriteEngine On + + # Redirect Trailing Slashes... + RewriteRule ^(.*)/$ /$1 [L,R=301] + + # Handle Front Controller... + RewriteCond %{REQUEST_FILENAME} !-d + RewriteCond %{REQUEST_FILENAME} !-f + RewriteRule ^ index.php [L] + diff --git a/public/index.php b/public/index.php new file mode 100644 index 0000000..04aa086 --- /dev/null +++ b/public/index.php @@ -0,0 +1,28 @@ +run(); -- cgit v1.2.3