Skip to content

Commit

Permalink
Fixed permissions issue on Log files
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeho committed Jun 30, 2011
1 parent 33f5f62 commit 9626e1a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions includes/qcodo/_core/framework/QLog.class.php
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@ public static function Log($strMessage, $intLogLevel = QLogLevel::Normal, $strLo
// Write the Line // Write the Line
fwrite($objFile, $strLine); fwrite($objFile, $strLine);
fclose($objFile); fclose($objFile);

// Update Permissions on File
@chmod($strLogFilePath, 0777);
} }


/** /**
Expand Down

0 comments on commit 9626e1a

Please sign in to comment.