Skip to content

Commit cd4045c

Browse files
committed
Fixed a bug in opensuse installer.
1 parent 8e57881 commit cd4045c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

install/dist/lib/opensuse.lib.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -429,10 +429,10 @@ public function configure_apache()
429429
//* Create the logging directory for the vhost logfiles
430430
exec('mkdir -p /var/log/ispconfig/httpd');
431431

432-
if(is_file('/etc/suphp.conf')) {
433-
replaceLine('/etc/suphp.conf','php=php:/srv/www/cgi-bin/php5','x-httpd-suphp=php:/srv/www/cgi-bin/php5',0);
434-
replaceLine('/etc/suphp.conf','docroot=','docroot=/srv/www',0);
435-
}
432+
//if(is_file('/etc/suphp.conf')) {
433+
replaceLine('/etc/suphp.conf','php=php','x-httpd-suphp=php:/srv/www/cgi-bin/php5',0,0);
434+
replaceLine('/etc/suphp.conf','docroot=','docroot=/srv/www',0,0);
435+
//}
436436

437437
// Sites enabled and avaulable dirs
438438
exec('mkdir -p '.$conf['apache']['vhost_conf_enabled_dir']);

0 commit comments

Comments
 (0)