|
|
@ -85,7 +85,7 @@ class OC_Log_Owncloud { |
|
|
} |
|
|
} |
|
|
$entry = json_encode($entry); |
|
|
$entry = json_encode($entry); |
|
|
$handle = @fopen(self::$logFile, 'a'); |
|
|
$handle = @fopen(self::$logFile, 'a'); |
|
|
// @chmod(self::$logFile, 0640);
|
|
|
|
|
|
|
|
|
@chmod(self::$logFile, 0640); |
|
|
if ($handle) { |
|
|
if ($handle) { |
|
|
fwrite($handle, $entry."\n"); |
|
|
fwrite($handle, $entry."\n"); |
|
|
fclose($handle); |
|
|
fclose($handle); |
|
|
|