From ce6dcf483febeb655958e0afae0eb320bed05bea Mon Sep 17 00:00:00 2001 From: tbrehm <t.brehm@ispconfig.org> Date: Tue, 10 Mar 2009 11:54:51 -0400 Subject: [PATCH] Fixed bugs in opensuse config and docs Fixed a bug that prevented the modification of website settings of a site that the user created. --- install/dist/lib/opensuse.lib.php | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/install/dist/lib/opensuse.lib.php b/install/dist/lib/opensuse.lib.php index 25e1037..3703532 100644 --- a/install/dist/lib/opensuse.lib.php +++ b/install/dist/lib/opensuse.lib.php @@ -429,6 +429,11 @@ //* Create the logging directory for the vhost logfiles exec('mkdir -p /var/log/ispconfig/httpd'); + if(is_file('/etc/suphp/suphp.conf')) { + replaceLine('/etc/suphp.conf','php=php:/srv/www/cgi-bin/php5','x-httpd-suphp=php:/srv/www/cgi-bin/php5',0); + replaceLine('/etc/suphp.conf','docroot=','docroot=/var/clients',0); + } + // Sites enabled and avaulable dirs exec('mkdir -p '.$conf['apache']['vhost_conf_enabled_dir']); exec('mkdir -p '.$conf['apache']['vhost_conf_dir']); -- Gitblit v1.9.1