summaryrefslogtreecommitdiffstats
path: root/apps/admin_audit
diff options
context:
space:
mode:
Diffstat (limited to 'apps/admin_audit')
-rw-r--r--apps/admin_audit/lib/actions/files.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/admin_audit/lib/actions/files.php b/apps/admin_audit/lib/actions/files.php
index d0a030d892a..e8d178e6070 100644
--- a/apps/admin_audit/lib/actions/files.php
+++ b/apps/admin_audit/lib/actions/files.php
@@ -65,6 +65,10 @@ class Files extends Action {
* @param array $params
*/
public function create(array $params) {
+ if ($params['path'] === '/' || $params['path'] === '' || $params['path'] === null) {
+ return;
+ }
+
$this->log(
'File created: "%s"',
$params,
@@ -96,6 +100,10 @@ class Files extends Action {
* @param array $params
*/
public function write(array $params) {
+ if ($params['path'] === '/' || $params['path'] === '' || $params['path'] === null) {
+ return;
+ }
+
$this->log(
'File written to: "%s"',
$params,