Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Zvonimir
ISPConfig 3
Commits
acdd7a74
Commit
acdd7a74
authored
Oct 21, 2013
by
Falko Timme
Browse files
- $inst can be replaced by $this.
parent
8b399226
Changes
1
Hide whitespace changes
Inline
Side-by-side
install/lib/installer_base.lib.php
View file @
acdd7a74
...
...
@@ -1074,7 +1074,7 @@ class installer_base {
public
function
configure_pureftpd
()
{
global
$conf
,
$inst
;
global
$conf
;
$config_dir
=
$conf
[
'pureftpd'
][
'config_dir'
];
...
...
@@ -1109,7 +1109,7 @@ class installer_base {
if
(
is_file
(
'/etc/inetd.conf'
))
{
replaceLine
(
'/etc/inetd.conf'
,
'/usr/sbin/pure-ftpd-wrapper'
,
'#ftp stream tcp nowait root /usr/sbin/tcpd /usr/sbin/pure-ftpd-wrapper'
,
0
,
0
);
exec
(
$
inst
->
getinitcommand
(
'openbsd-inetd'
,
'restart'
));
exec
(
$
this
->
getinitcommand
(
'openbsd-inetd'
,
'restart'
));
//if(is_file($conf['init_scripts'].'/'.'openbsd-inetd')) exec($conf['init_scripts'].'/'.'openbsd-inetd restart');
}
...
...
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