Skip to content
Snippets Groups Projects
Commit 3ce6344d authored by Michael Gapczynski's avatar Michael Gapczynski
Browse files

Supress any warnings if log file does not exist

parent fc56a668
No related branches found
No related tags found
No related merge requests found
......@@ -63,7 +63,7 @@ class OC_Log_Owncloud {
self::init();
$minLevel=OC_Config::getValue( "loglevel", OC_Log::WARN );
$entries = array();
$handle = fopen(self::$logFile, 'r');
$handle = @fopen(self::$logFile, 'r');
if ($handle) {
// Just a guess to set the file pointer to the right spot
$maxLineLength = 150;
......
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