Skip to content
Snippets Groups Projects
Commit b0f89e56 authored by Till Brehm's avatar Till Brehm
Browse files

Merge branch 'patch-1' into 'stable-3.1'

Make log message less confusing when level is only Warning.

See merge request ispconfig/ispconfig3!696
parents 94f452e0 c5a49024
No related branches found
No related tags found
No related merge requests found
......@@ -78,7 +78,7 @@ class ftpuser_base_plugin {
//* Check if the resulting path is inside the docroot
if(substr($data['new']['dir'], 0, strlen($web['document_root'])) != $web['document_root']) {
$app->log('User dir is outside of docroot.', LOGLEVEL_WARN);
$app->log("User dir '".$data['new']['dir']."' is outside of docroot.", LOGLEVEL_WARN);
return false;
}
......@@ -104,7 +104,7 @@ class ftpuser_base_plugin {
//* Check if the resulting path is inside the docroot
if(substr($data['new']['dir'], 0, strlen($web['document_root'])) != $web['document_root']) {
$app->log('User dir is outside of docroot.', LOGLEVEL_WARN);
$app->log("User dir '".$data['new']['dir']."' is outside of docroot.", LOGLEVEL_WARN);
return false;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment