stanley-king il y a 8 ans
Parent
commit
04fec0f30b
2 fichiers modifiés avec 3 ajouts et 3 suppressions
  1. 2 2
      helper/brand_helper.php
  2. 1 1
      mobile/control/brand.php

+ 2 - 2
helper/brand_helper.php

@@ -57,7 +57,7 @@ class brand_helper
             $this->mCountries = [];
             $brands = [];
             foreach ($items as $brand) {
-                //Log::record($brand['brand_logo'],Log::DEBUG);
+                Log::record($brand['brand_logo'],Log::DEBUG);
 
                 $image = UPLOAD_SITE_URL . $brand['brand_logo'];
                 $ret = getimagesize($image, $info);
@@ -67,7 +67,7 @@ class brand_helper
                 }
                 $brand_id = intval($brand['brand_id']);
                 $this->mCountries[$brand_id] = $brand['brand_country'];
-                //Log::record($brand['$brand_id'] ."=>".$brand['brand_country'] ,Log::DEBUG);
+                Log::record($brand['$brand_id'] ."=>".$brand['brand_country'] ,Log::DEBUG);
             }
 
             $block = special_helper::format_grid_brands($brands);

+ 1 - 1
mobile/control/brand.php

@@ -8,7 +8,7 @@ defined('InShopNC') or exit('Access Invalid!');
 
 require_once(BASE_ROOT_PATH . '/helper/brand_helper.php');
 
-class 百randbrandControl extends mobileHomeControl
+class brandControl extends mobileHomeControl
 {
     public function __construct() {
         parent::__construct();