shish преди 1 година
родител
ревизия
0312c6696e
променени са 1 файла, в които са добавени 0 реда и са изтрити 4 реда
  1. 0 4
      app-ghs/controllers/OrderController.php

+ 0 - 4
app-ghs/controllers/OrderController.php

@@ -2611,8 +2611,6 @@ class OrderController extends BaseController
         ini_set('memory_limit', '2045M');
         set_time_limit(0);
 
-        Yii::$app->params['errorReport'] = 1;
-
         $connection = Yii::$app->db;
         $transaction = $connection->beginTransaction();
         try {
@@ -2646,8 +2644,6 @@ class OrderController extends BaseController
         $fullPathFile = $path . $newFile;
         if (move_uploaded_file($file['tmp_name'], $fullPathFile)) {
 
-
-
                 $arr = [];
                 $phpExcelFile = Yii::getAlias("@vendor/phpoffice/phpexcel/");
                 require_once($phpExcelFile . 'Classes/PHPExcel/IOFactory.php');