tbrehm
2012-06-11 897af06af9522ded99b1e0f46730299e89856ffe
install/dist/lib/opensuse.lib.php
@@ -542,6 +542,10 @@
      replaceLine('/etc/suphp.conf','umask=0077','umask=0022',0);
      //}
      
      if(!file_exists('/srv/www/cgi-bin/php5') && file_exists('/srv/www/cgi-bin/php')) {
         symlink('/srv/www/cgi-bin/php','/srv/www/cgi-bin/php5');
      }
      // Sites enabled and available dirs
      exec('mkdir -p '.$conf['apache']['vhost_conf_enabled_dir']);
      exec('mkdir -p '.$conf['apache']['vhost_conf_dir']);
@@ -1084,9 +1088,8 @@
      }
      
      if(is_dir($install_dir.'/interface/invoices')) {
         chmod($install_dir.'/interface/invoices', 0770);
         chown($install_dir.'/interface/invoices', 'ispconfig');
         chgrp($install_dir.'/interface/invoices', 'ispconfig');
         exec('chmod -R 770 '.escapeshellarg($install_dir.'/interface/invoices'));
         exec('chown -R ispconfig:ispconfig '.escapeshellarg($install_dir.'/interface/invoices'));
      }