root 3 tahun lalu
induk
melakukan
ea287451ce
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      common/helpers/bonus/PreparePerfCalc.php

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

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