shish пре 5 година
родитељ
комит
8c10f42c05
1 измењених фајлова са 8 додато и 0 уклоњено
  1. 8 0
      app-pt/controllers/MainController.php

+ 8 - 0
app-pt/controllers/MainController.php

@@ -41,6 +41,14 @@ class MainController extends PlatformController
             $name = '花掌柜';
             $bei = '闽ICP备15017325号-6';
         }
+        if (strstr($host, 'zhiguanhua.cn') !== false) {
+            $name = '花掌柜';
+            $bei = '闽ICP备15017325号-7';
+        }
+        if (strstr($host, 'huadianbao.net') !== false) {
+            $name = '花掌柜';
+            $bei = '闽ICP备15017325号-8';
+        }
         $this->layout = false;
         return $this->render('index', ['name' => $name, 'bei' => $bei]);
     }