tbrehm
2008-06-14 7120b51cd52076e2eabd90be9a0a4d11209b0ee7
install/lib/installer_base.lib.php
@@ -42,7 +42,7 @@
        $this->conf = $conf;
    }
   
    //: TODO  Implement the translation function and langauge files for the installer.
    //: TODO  Implement the translation function and language files for the installer.
   public function lng($text)
    {
      return $text;
@@ -153,7 +153,7 @@
      }
   }
   
   //** Create a recors in the
   //** Create the server record in the database
   public function add_database_server_record() {
      
      $server_ini_content = rf("tpl/server.ini.master");
@@ -183,7 +183,24 @@
        wf($full_file_name, $content);
    }
   public function configure_jailkit()
    {
        $cf = $this->conf['jailkit'];
      $config_dir = $cf['config_dir'];
      $jk_init = $cf['jk_init'];
      $jk_chrootsh = $cf['jk_chrootsh'];
      if (is_dir($config_dir))
      {
         if(is_file($config_dir.'/'.$jk_init)) copy($config_dir.'/'.$jk_init, $config_dir.'/'.$jk_init.'~');
         if(is_file($config_dir.'/'.$jk_chrootsh.".master")) copy($config_dir.'/'.$jk_chrootsh.".master", $config_dir.'/'.$jk_chrootsh.'~');
         copy('tpl/'.$jk_init.".master", $config_dir.'/'.$jk_init);
         copy('tpl/'.$jk_chrootsh.".master", $config_dir.'/'.$jk_chrootsh);
      }
    }
   public function configure_postfix($options = '')
    {
        $cf = $this->conf['postfix'];