Marius Burkard
2015-12-23 69fe1ea229e5d2c3a6ecc3fc3c5438790bfc8b05
install/lib/installer_base.lib.php
@@ -36,6 +36,7 @@
   public $conf;
   public $install_ispconfig_interface = true;
   public $is_update = false; // true if it is an update, falsi if it is a new install
   public $min_php = '5.3.3'; // minimal php-version for update / install
   protected $mailman_group = 'list';
@@ -130,6 +131,12 @@
   }
   */
   //** Detect PHP-Version
   public function get_php_version() {
      if(version_compare(PHP_VERSION, $this->min_php, '<')) return false;
      else return true;
   }
   //** Detect installed applications
   public function find_installed_apps() {
      global $conf;
@@ -175,6 +182,19 @@
      return $force;
    }
   public function reconfigure_app($service, $reconfigure_services_answer) {
      $reconfigure = false;
      if ($reconfigure_services_answer != 'selected') {
         $reconfigure = true;
      } else {
         if(strtolower($this->simple_query("Reconfigure $service", array('y', 'n'), 'y') ) == 'y') {
            $reconfigure = true;
         } else {
            swriteln("Skip reconfigure $service\n");
         }
      }
      return $reconfigure;
   }
   /** Create the database for ISPConfig */
@@ -2724,4 +2744,4 @@
}
?>
?>