Skip to content
Snippets Groups Projects
Commit 81bb7078 authored by jurgenhaas's avatar jurgenhaas
Browse files

Drupal 8 removed PHP 5 disabling from .htaccess, remove it here too to avoid...

Drupal 8 removed PHP 5 disabling from .htaccess, remove it here too to avoid false positives from security review module
parent 51f42583
No related branches found
No related tags found
No related merge requests found
......@@ -14,9 +14,11 @@ SetHandler Drupal_Security_Do_Not_Remove_See_SA_2006_006
</Files>
# If we know how to do it safely, disable the PHP engine entirely.
{% if drupal.version|default('d8') != 'd8' %}
<IfModule mod_php5.c>
php_flag engine off
</IfModule>
{% endif %}
<IfModule mod_php7.c>
php_flag engine off
</IfModule>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment