Marius Cramer
2015-12-08 46230badbe21f7c4337fef7369defd6f2372a5cf
install/install.php
@@ -115,6 +115,10 @@
      include_once $cmd_opt['autoinstall'];
   } elseif($path_parts['extension'] == 'ini') {
      $tmp = ini_to_array(file_get_contents('autoinstall.ini'));
      if(!is_array($tmp['install'])) $tmp['install'] = array();
      if(!is_array($tmp['ssl_cert'])) $tmp['ssl_cert'] = array();
      if(!is_array($tmp['expert'])) $tmp['expert'] = array();
      if(!is_array($tmp['update'])) $tmp['update'] = array();
      $autoinstall = $tmp['install'] + $tmp['ssl_cert'] + $tmp['expert'] + $tmp['update'];
      unset($tmp);
   }
@@ -755,8 +759,12 @@
      }
   }
   if($conf['openvz']['installed'] = true && strtolower($inst->simple_query('Enable Openvz-Server', array('y', 'n'), 'y','configure_openvz')) == 'y')
         $conf['services']['vserver'] = true;
   //* Configure OpenVZ
   $force = @($conf['openvz']['installed']) ? true : $inst->force_configure_app('OpenVZ');
   if($force) {
      $conf['services']['vserver'] = true;
      swriteln('Configuring OpenVZ');
   }
   if(strtolower($inst->simple_query('Configure Firewall Server', array('y', 'n'), 'y','configure_firewall')) == 'y') {
      //* Check for Firewall