]> skyeroc.xyz Git - flatmark/commitdiff
add optional htaccess-dev
authorelektrischerwalfisch <mail@elektrischerwalfisch.de>
Tue, 15 Apr 2025 07:17:07 +0000 (09:17 +0200)
committerelektrischerwalfisch <mail@elektrischerwalfisch.de>
Tue, 15 Apr 2025 07:17:07 +0000 (09:17 +0200)
.gitignore
.htaccess

index d261024f171936ba9c2f909f463e22fb6b74dc27..25b27363a0668184224ea5d81f34bd47193ec33c 100644 (file)
@@ -1,4 +1,5 @@
 .vscode
+.htaccess-dev
 todo.md
 salat.php
 zwiebeln.php
index 979b3885f753f485ee3beb0f332045e7a80f9a1f..4ef3cc8fd82b9da6c4ba071cacf2dddcc0e0d224 100644 (file)
--- a/.htaccess
+++ b/.htaccess
@@ -1,8 +1,12 @@
 # Redirects all requests to index.php to enable clean URLs.
 # @package    flatMark
 
-
 RewriteEngine On
 RewriteCond %{REQUEST_FILENAME} !-f
 RewriteCond %{REQUEST_FILENAME} !-d
 RewriteRule ^(.+)$ index.php [L,QSA]
+
+# If .htaccess-dev (for development-purposes) exists, include it
+<IfFile .htaccess-dev>
+    Include .htaccess-dev
+</IfFile>
\ No newline at end of file