From bce0656792220df66390e3790385bfa0269e67ec Mon Sep 17 00:00:00 2001 From: Geoffrey Frogeye Date: Mon, 2 Mar 2015 12:21:25 +0100 Subject: [PATCH] Static PHP navigation --- .htaccess | 3 +++ index.php | 20 +++++++++++++++++++- menu.php | 10 +++++----- 3 files changed, 27 insertions(+), 6 deletions(-) create mode 100644 .htaccess diff --git a/.htaccess b/.htaccess new file mode 100644 index 0000000..ae6c429 --- /dev/null +++ b/.htaccess @@ -0,0 +1,3 @@ +RewriteEngine on +RewriteCond %{REQUEST_URI} !^.+(css|fonts|img|js).+$ +RewriteRule ^.+$ index.php [L] \ No newline at end of file diff --git a/index.php b/index.php index 4afb195..fda22b9 100755 --- a/index.php +++ b/index.php @@ -26,7 +26,25 @@ require_once("creds.php");
- +
  diff --git a/menu.php b/menu.php index 8c8aac9..e004f37 100755 --- a/menu.php +++ b/menu.php @@ -2,19 +2,19 @@
-- libgit2 0.21.2