Update .htaccess for PHP 8.4 compatibility

This commit is contained in:
Ruben 2025-11-04 23:12:39 +01:00
parent c2833a1f06
commit 4d8c66fdfc
2 changed files with 7 additions and 5 deletions

5
.gitignore vendored
View file

@ -1,9 +1,4 @@
app*
content/robots.txt
<<<<<<< HEAD
custom/smtp-config.php*
.htaccess*
=======
custom/smtp-config.php
content/.htaccess
>>>>>>> 6034ab6b59a6fed575a2b98cfb044b75a481ba0d

View file

@ -12,3 +12,10 @@ DirectorySlash Off
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ /index.php [L,QSA]
</IfModule>
# php -- BEGIN cPanel-generated handler, do not edit
# Set the “alt-php84” package as the default “PHP” programming language.
<IfModule mime_module>
AddHandler application/x-httpd-alt-php84 .php .php8 .phtml
</IfModule>
# php -- END cPanel-generated handler, do not edit