add all files

This commit is contained in:
Rucus
2026-02-17 09:29:34 -06:00
parent b8c8d67c67
commit 782d203799
21925 changed files with 2433086 additions and 0 deletions

23
lasuca/api/.htaccess Normal file
View File

@@ -0,0 +1,23 @@
# Route all API requests to the router
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /api/
# Allow direct access to index.php
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
# Route everything to index.php
RewriteRule ^(.*)$ index.php [QSA,L]
</IfModule>
# Deny access to helper files directly
<FilesMatch "^(helpers|endpoints|migrations)">
<IfModule mod_authz_core.c>
Require all denied
</IfModule>
<IfModule !mod_authz_core.c>
Order deny,allow
Deny from all
</IfModule>
</FilesMatch>