From 7da4fe5744d3f6a4a486ee0828f7a05a97a3ffdb Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Wed, 21 Aug 2019 18:06:19 +0200 Subject: [PATCH] fixed files htaccess rewrite rule to also match when including files from css --- .htaccess | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.htaccess b/.htaccess index 7749959..7a5985e 100644 --- a/.htaccess +++ b/.htaccess @@ -3,5 +3,5 @@ RewriteEngine On RewriteRule ^(.*)/fonts/fontawesome-webfont(.*)$ lib/system/lib/font_awesome/lib/fonts/fontawesome-webfont$2 [L] RewriteRule ^sai$ sai.php$1 [L] -RewriteRule ^files/([^/]+)/([^/]+)$ api.php?call=files&cat=$1&id=$2 [L] +RewriteRule ^(.*)/files/([^/]+)/([^/]+)$ api.php?call=files&cat=$2&id=$3 [L] RewriteRule ^cache/([^/]+)/([^/]+)$ api.php?call=cache&id=$1&ident=$2 [L] \ No newline at end of file