Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISPConfig
ISPConfig 3
Commits
e0efb21a
Commit
e0efb21a
authored
Mar 12, 2009
by
tbrehm
Browse files
Fixed bugs in suse installer
parent
c832647b
Changes
1
Hide whitespace changes
Inline
Side-by-side
install/dist/lib/opensuse.lib.php
View file @
e0efb21a
...
...
@@ -726,8 +726,19 @@ class installer_dist extends installer_base {
$content
=
str_replace
(
'{vhost_port_listen}'
,
''
,
$content
);
}
$content
=
str_replace
(
'/var/www/'
,
'/srv/www/'
,
$content
);
wf
(
"
$vhost_conf_dir
/ispconfig.vhost"
,
$content
);
if
(
!
is_file
(
'/srv/www/php-fcgi-scripts/ispconfig/.php-fcgi-starter'
))
{
exec
(
'mkdir -p /srv/www/php-fcgi-scripts/ispconfig'
);
exec
(
'cp tpl/apache_ispconfig_fcgi_starter.master /srv/www/php-fcgi-scripts/ispconfig/.php-fcgi-starter'
);
exec
(
'chmod +x /srv/www/php-fcgi-scripts/ispconfig/.php-fcgi-starter'
);
exec
(
'ln -s /usr/local/ispconfig/interface/web /srv/www/ispconfig'
);
exec
(
'chown -R ispconfig:ispconfig /srv/www/php-fcgi-scripts/ispconfig'
);
}
//copy('tpl/apache_ispconfig.vhost.master', "$vhost_conf_dir/ispconfig.vhost");
//* and create the symlink
if
(
$this
->
install_ispconfig_interface
==
true
&&
$this
->
is_update
==
false
)
{
...
...
@@ -736,14 +747,6 @@ class installer_dist extends installer_base {
exec
(
"ln -s
$vhost_conf_dir
/ispconfig.vhost
$vhost_conf_enabled_dir
/000-ispconfig.vhost"
);
}
exec
(
'mkdir -p /srv/www/php-fcgi-scripts/ispconfig'
);
exec
(
'cp tpl/apache_ispconfig_fcgi_starter.master /srv/www/php-fcgi-scripts/ispconfig/.php-fcgi-starter'
);
exec
(
'chmod +x /srv/www/php-fcgi-scripts/ispconfig/.php-fcgi-starter'
);
exec
(
'ln -s /usr/local/ispconfig/interface/web /srv/www/ispconfig'
);
exec
(
'chown -R ispconfig:ispconfig /srv/www/php-fcgi-scripts/ispconfig'
);
//replaceLine('/var/www/php-fcgi-scripts/ispconfig/.php-fcgi-starter','PHPRC=','PHPRC=/etc/',0,0);
}
// Make the Clamav log files readable by ISPConfig
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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