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
Guilherme Filippo
ISPConfig 3
Commits
130cd42c
Commit
130cd42c
authored
Mar 04, 2009
by
tbrehm
Browse files
No commit message
No commit message
parent
9c7f5631
Changes
1
Hide whitespace changes
Inline
Side-by-side
server/mods-available/monitor_core_module.inc.php
View file @
130cd42c
...
...
@@ -1226,7 +1226,7 @@ class monitor_core_module {
// Getting the logfile content
if
(
$logfile
!=
''
)
{
$logfile
=
escapeshellcmd
(
$logfile
);
if
(
stristr
(
$logfile
,
';'
)
or
substr
(
$logfile
,
0
,
9
)
!=
'/var/log/'
or
(
stristr
(
$logfile
,
'..'
))
{
if
(
stristr
(
$logfile
,
';'
)
or
substr
(
$logfile
,
0
,
9
)
!=
'/var/log/'
or
stristr
(
$logfile
,
'..'
))
{
$log
=
'Logfile path error.'
;
}
else
...
...
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