summaryrefslogtreecommitdiffstats
path: root/glpi-fusioninventory-httpd.conf
diff options
context:
space:
mode:
Diffstat (limited to 'glpi-fusioninventory-httpd.conf')
-rw-r--r--glpi-fusioninventory-httpd.conf7
1 files changed, 6 insertions, 1 deletions
diff --git a/glpi-fusioninventory-httpd.conf b/glpi-fusioninventory-httpd.conf
index ae9694d..dbeef15 100644
--- a/glpi-fusioninventory-httpd.conf
+++ b/glpi-fusioninventory-httpd.conf
@@ -9,5 +9,10 @@
</Directory>
<Directory /usr/share/glpi/plugins/fusioninventory>
- php_admin_flag allow_url_fopen On
+ <IfModule mod_php5.c>
+ php_admin_flag allow_url_fopen On
+ </IfModule>
+ <IfModule mod_php7.c>
+ php_admin_flag allow_url_fopen On
+ </IfModule>
</Directory>