Force status to integer value before writing database.
[fa-stable.git] / .htaccess
index c80aa26e7548e5c169d024ebce63009d06837e49..12c3504fdb561901b83492e1760ae68a8f39b5d2 100644 (file)
--- a/.htaccess
+++ b/.htaccess
@@ -1,3 +1,14 @@
+# Protect sensitive files.
+<FilesMatch "\.(inc|po|sh|.*sql|log)$">
+       Order allow,deny
+</FilesMatch>
+
+# Disable directory listings.
+Options -Indexes
+
+# Set the default index.
+DirectoryIndex index.php
+
 # These settings are recommended
 # Maybe you might have problems
 # with other scripts that needs