diff --git a/modules/statistics/extlibs/loganalyzer.php b/modules/statistics/extlibs/loganalyzer.php index 88f0aa367f6b3b5ca5d5459af1502e344c7c219f..dfcb8e61df1dd6efa366a1430adcf8318c3e5e3b 100755 --- a/modules/statistics/extlibs/loganalyzer.php +++ b/modules/statistics/extlibs/loganalyzer.php @@ -61,7 +61,7 @@ foreach ($results AS $rulename => $ruleresults) { } // store file - file_put_contents($statdir . $rulename . '-' . $fileno . '.stat', serialize($filledresult) ); + file_put_contents($statdir . '/' . $rulename . '-' . $fileno . '.stat', serialize($filledresult), LOCK_EX ); } }