root 3 سال پیش
والد
کامیت
ea287451ce
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      common/helpers/bonus/PreparePerfCalc.php

+ 1 - 1
common/helpers/bonus/PreparePerfCalc.php

@@ -951,7 +951,7 @@ class PreparePerfCalc {
         if (!$this->_isCalcMonth) {
             return true;
         }
-        var_export('aatxt.txt',var_export([
+        file_put_contents('aatxt.txt',var_export([
             'offset' => $offset,
             'CALC_MONTH' => $this->_calcYearMonth
         ],true), FILE_APPEND);