Jelajahi Sumber

Merge branch 'dev' of http://16.162.42.175:8014/guanli/aklast into dev

theojeng 3 tahun lalu
induk
melakukan
0d828b58d2
2 mengubah file dengan 0 tambahan dan 3 penghapusan
  1. 0 1
      common/models/Config.php
  2. 0 2
      vendor/yiisoft/yii2/base/ErrorHandler.php

+ 0 - 1
common/models/Config.php

@@ -83,7 +83,6 @@ class Config extends \common\components\ActiveRecord
      * @return array|mixed|\yii\db\ActiveRecord[]
      */
     public static function getFromCache(){
-//        Yii::$app->cache->delete(Cache::SYSTEM_CONFIG_KEY);
         $config = Yii::$app->cache->get(Cache::SYSTEM_CONFIG_KEY);
         if(!$config){
             // 获取配置

+ 0 - 2
vendor/yiisoft/yii2/base/ErrorHandler.php

@@ -371,8 +371,6 @@ abstract class ErrorHandler extends Component
      */
     public static function convertExceptionToVerboseString($exception)
     {
-        LoggerTool::error('baseErrorHandler.111111');
-
         if ($exception instanceof Exception) {
             $message = "Exception ({$exception->getName()})";
         } elseif ($exception instanceof ErrorException) {