Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
lolo888
ISPConfig 3
Commits
acdd7a74
Commit
acdd7a74
authored
Oct 21, 2013
by
Falko Timme
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- $inst can be replaced by $this.
parent
8b399226
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
install/lib/installer_base.lib.php
install/lib/installer_base.lib.php
+2
-2
No files found.
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
Markdown
is supported
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