Update .htaccess for PHP 8.4 compatibility
This commit is contained in:
parent
c2833a1f06
commit
4d8c66fdfc
2 changed files with 7 additions and 5 deletions
5
.gitignore
vendored
5
.gitignore
vendored
|
|
@ -1,9 +1,4 @@
|
||||||
app*
|
app*
|
||||||
content/robots.txt
|
content/robots.txt
|
||||||
<<<<<<< HEAD
|
|
||||||
custom/smtp-config.php*
|
custom/smtp-config.php*
|
||||||
.htaccess*
|
|
||||||
=======
|
|
||||||
custom/smtp-config.php
|
|
||||||
content/.htaccess
|
content/.htaccess
|
||||||
>>>>>>> 6034ab6b59a6fed575a2b98cfb044b75a481ba0d
|
|
||||||
|
|
|
||||||
|
|
@ -12,3 +12,10 @@ DirectorySlash Off
|
||||||
RewriteCond %{REQUEST_FILENAME} !-f
|
RewriteCond %{REQUEST_FILENAME} !-f
|
||||||
RewriteRule ^(.*)$ /index.php [L,QSA]
|
RewriteRule ^(.*)$ /index.php [L,QSA]
|
||||||
</IfModule>
|
</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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue