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
Zvonimir
ISPConfig 3
Commits
b889edb3
Commit
b889edb3
authored
Sep 04, 2012
by
Falko Timme
Browse files
- Ported changes from Apache plugin to nginx plugin.
- Fixed errors in system.inc.php-
parent
317b4d0d
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
server/lib/classes/system.inc.php
View file @
b889edb3
...
...
@@ -673,7 +673,7 @@ class system{
$app
->
log
(
"Action aborted, file is a symlink:
$filename
"
,
LOGLEVEL_WARN
);
return
false
;
}
return
file_
pu
t_contents
(
$filename
,
$data
);
return
file_
ge
t_contents
(
$filename
,
$data
);
}
function
rename
(
$filename
,
$new_filename
,
$allow_symlink
=
false
)
{
...
...
@@ -700,7 +700,7 @@ class system{
}
function
unlink
(
$filename
)
{
if
(
file_exists
(
$filename
))
{
if
(
file_exists
(
$filename
)
||
is_link
(
$filename
)
)
{
return
unlink
(
$filename
);
}
}
...
...
server/plugins-available/nginx_plugin.inc.php
View file @
b889edb3
This diff is collapsed.
Click to expand it.
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