first commit

This commit is contained in:
Hamza-Ayed
2026-05-23 16:17:20 +03:00
commit 2bbaa1ee16
195 changed files with 11126 additions and 0 deletions

27
backend/.htaccess Normal file
View File

@@ -0,0 +1,27 @@
# Protect includes directory
<IfModule mod_rewrite.c>
RewriteEngine On
# Block direct access to includes/
RewriteRule ^includes/ - [F,L]
# Block access to config files
RewriteRule ^config\.php$ - [F,L]
# Block access to hidden files
RewriteRule (^|/)\. - [F,L]
# Block access to SQL files
RewriteRule \.sql$ - [F,L]
# Block access to log files
RewriteRule \.log$ - [F,L]
</IfModule>
# Disable directory listing
Options -Indexes
# Prevent script execution in includes
<Directory "includes">
php_flag engine off
</Directory>