Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
Open sidebar
ISPConfig
ISPConfig 3
Commits
cd4045c2
Commit
cd4045c2
authored
Mar 18, 2009
by
tbrehm
Browse files
Fixed a bug in opensuse installer.
parent
8e578810
Changes
1
Hide whitespace changes
Inline
Side-by-side
install/dist/lib/opensuse.lib.php
View file @
cd4045c2
...
...
@@ -429,10 +429,10 @@ class installer_dist extends installer_base {
//* Create the logging directory for the vhost logfiles
exec
(
'mkdir -p /var/log/ispconfig/httpd'
);
if
(
is_file
(
'/etc/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=/srv/www'
,
0
);
}
//
if(is_file('/etc/suphp.conf')) {
replaceLine
(
'/etc/suphp.conf'
,
'php=php'
,
'x-httpd-suphp=php:/srv/www/cgi-bin/php5'
,
0
,
0
);
replaceLine
(
'/etc/suphp.conf'
,
'docroot='
,
'docroot=/srv/www'
,
0
,
0
);
//
}
// Sites enabled and avaulable dirs
exec
(
'mkdir -p '
.
$conf
[
'apache'
][
'vhost_conf_enabled_dir'
]);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment