diff --git a/server/plugins-available/ftpuser_base_plugin.inc.php b/server/plugins-available/ftpuser_base_plugin.inc.php index 484a0f7da45dede95f3077bd3c0eeab380aaa86f..af5870a4bae04662b065666b4aad77ae99db4479 100644 --- a/server/plugins-available/ftpuser_base_plugin.inc.php +++ b/server/plugins-available/ftpuser_base_plugin.inc.php @@ -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; }