From 38458f834a75e991107dedb6d672d826442175ec Mon Sep 17 00:00:00 2001 From: Ricsi Date: Sun, 12 Feb 2017 11:01:35 +0100 Subject: [PATCH] updated htaccess and routing --- .gitignore | 2 ++ .htaccess | 2 +- common.php | 6 +++--- index.php | 3 ++- 4 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 78dcf10..73bed75 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,5 @@ php_errors.log /_image /_developer +/jQuery +/ckeditor diff --git a/.htaccess b/.htaccess index 641d8eb..6b458e6 100644 --- a/.htaccess +++ b/.htaccess @@ -10,7 +10,7 @@ RewriteRule ^\/?(_developer)\/([a-zA-Z0-9\.\_]*) _developer/$2 [NC] RewriteRule ^\/?(_css\/)([a-zA-Z0-9_]+)\.css$ _css/$2.css [NC] RewriteRule ^\/?(_ajax\/)([a-zA-Z0-9_]+)\.php$ _ajax/$2.php [NC,L] - +RewriteCond %{REQUEST_URI} !^/ckeditor/?$ RewriteRule ^([a-z_]+)\/?([0-9a-z_]*)\/?([0-9a-z_]*)$ index.php?page=$1&subpage=$2&id=$3 [NC,L] diff --git a/common.php b/common.php index 99830a8..f7cc9f0 100644 --- a/common.php +++ b/common.php @@ -1,7 +1,7 @@ - + +