tbrehm
2008-05-27 eded9dcce84eb3f8c98e23256fde8570030ec9c7
install/lib/installer_base.lib.php
@@ -587,8 +587,9 @@
      caselog($command.' &> /dev/null', __FILE__, __LINE__, "EXECUTED: $command", "Failed to execute the command $command");
      
      //* Create a symlink, so ISPConfig is accessible via web
      $command = "ln -s $install_dir/interface/web/ /var/www/ispconfig";
      caselog($command.' &> /dev/null', __FILE__, __LINE__, "EXECUTED: $command", "Failed to execute the command $command");
      // Replaced by a separate vhost definition for port 8080
      // $command = "ln -s $install_dir/interface/web/ /var/www/ispconfig";
      // caselog($command.' &> /dev/null', __FILE__, __LINE__, "EXECUTED: $command", "Failed to execute the command $command");
      
      //* Create the config file for ISPConfig interface
      $configfile = 'config.inc.php';
@@ -653,6 +654,9 @@
      //* Make the global language file directory group writable
      exec("chmod -R 770 $install_dir/interface/lib/lang");
      
      //* Make the temp directory for language file exports writable
      exec("chmod -R 770 $install_dir/interface/web/temp");
      //* Make all interface language file directories group writable
      $handle = @opendir($install_dir.'/interface/web');
      while ($file = @readdir ($handle)) { 
@@ -696,6 +700,12 @@
      // Make the Clamav log files readable by ISPConfig
      exec('chmod +r /var/log/clamav/clamav.log');
      exec('chmod +r /var/log/clamav/freshclam.log');
      //* Install the SVN update script
      exec('cp ../helper_scripts/update_from_svn.sh /usr/local/bin/ispconfig_update_from_svn.sh');
      exec('chown root /usr/local/bin/ispconfig_update_from_svn.sh');
      exec('chmod 700 /usr/local/bin/ispconfig_update_from_svn.sh');
   }
   
   public function install_crontab()