This commit is contained in:
2025-02-05 03:51:15 +05:30
parent c4c8ba334e
commit 7977ddc04e
31 changed files with 643 additions and 513 deletions

View File

@@ -1,9 +1,6 @@
Options -Indexes
RewriteEngine On
# Check if the request is not for an existing directory or file
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond $1 !^(index\.php)
RewriteCond %{REQUEST_FILENAME} !-f
# Rewrite all other URLs to index.php with the 'url' parameter
RewriteRule ^(.+)$ index.php?url=$1 [QSA,L]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?/$1 [L]