Browse Source

Use variable for web system

Ernesto Nicolás Carrea 5 years ago
parent
commit
9575250f21
1 changed files with 1 additions and 1 deletions
  1. 1 1
      bin/module/php/integrate.inc

+ 1 - 1
bin/module/php/integrate.inc

@@ -11,7 +11,7 @@ hestia_module_php_integrate() {
             osal_apache_module_disable php$fpm_v > /dev/null 2>&1
             osal_apache_module_disable mpm_prefork > /dev/null 2>&1
             osal_apache_module_enable mpm_event > /dev/null 2>&1
-            cp -f $HESTIA_INSTALL_DIR/apache2/hestia-event.conf $OSAL_PATH_APACHE_CONF_D/
+            cp -f $HESTIA_INSTALL_DIR/$WEB_SYSTEM/hestia-event.conf $OSAL_PATH_APACHE_CONF_D/
         elif [ "$php_variant" = 'ruid2' ]; then
             # FIXME: enable only if needed
             osal_apache_module_enable ruid2 > /dev/null 2>&1