Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/Log.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/Log.php b/core/Log.php
index 2c67207b71..8bd2f5b95e 100644
--- a/core/Log.php
+++ b/core/Log.php
@@ -385,9 +385,9 @@ class Log extends Singleton
return;
}
- if(!file_put_contents($this->logToFilePath, $message, FILE_APPEND)) {
+ if(!@file_put_contents($this->logToFilePath, $message, FILE_APPEND)) {
$message = Filechecks::getErrorMessageMissingPermissions($this->logToFilePath);
- throw new \Exception( $message );
+ throw new \Exception($message);
}
}