Commit a390092d authored by Drew Webber's avatar Drew Webber
Browse files

Issue #3281663 by mcdruid: D7 backport: Fix htaccess files for PHP 8

parent 5987b79c
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -535,6 +535,10 @@ function file_htaccess_lines($private = TRUE) {
<IfModule mod_php7.c>
  php_flag engine off
</IfModule>
# From PHP 8 there is no number in the module name.
<IfModule mod_php.c>
  php_flag engine off
</IfModule>
EOF;

  if ($private) {