From cc6efd518c39c30558e836798abe64d19157be8e Mon Sep 17 00:00:00 2001
From: "florian.azizian" <florian.azizian@maarch.org>
Date: Wed, 17 May 2017 15:25:37 +0100
Subject: [PATCH] FIX #5541 add htaccess in folder smartphone and install

---
 apps/maarch_entreprise/smartphone/.htaccess | 4 ++++
 install/.htaccess                           | 4 ++++
 rest/.htaccess                              | 1 -
 3 files changed, 8 insertions(+), 1 deletion(-)
 create mode 100644 apps/maarch_entreprise/smartphone/.htaccess
 create mode 100644 install/.htaccess

diff --git a/apps/maarch_entreprise/smartphone/.htaccess b/apps/maarch_entreprise/smartphone/.htaccess
new file mode 100644
index 00000000000..cc5760d447d
--- /dev/null
+++ b/apps/maarch_entreprise/smartphone/.htaccess
@@ -0,0 +1,4 @@
+<FilesMatch ".*">
+	Order allow,deny
+	Allow from all
+</FilesMatch>
diff --git a/install/.htaccess b/install/.htaccess
new file mode 100644
index 00000000000..cc5760d447d
--- /dev/null
+++ b/install/.htaccess
@@ -0,0 +1,4 @@
+<FilesMatch ".*">
+	Order allow,deny
+	Allow from all
+</FilesMatch>
diff --git a/rest/.htaccess b/rest/.htaccess
index ac170c4f165..76a1217f437 100644
--- a/rest/.htaccess
+++ b/rest/.htaccess
@@ -7,4 +7,3 @@ RewriteEngine On
 RewriteCond %{REQUEST_FILENAME} !-f
 RewriteCond %{REQUEST_FILENAME} !-d
 RewriteRule ^ index.php [QSA,L]
-
-- 
GitLab