Server : Apache System : Linux httpd.HKw328.alyhk.cos610 2.6.32-754.31.1.el6.x86_64 #1 SMP Wed Jul 15 16:02:21 UTC 2020 x86_64 User : nhl17971048 ( 896) PHP Version : 5.6.11 Disable Function : NONE Directory : /var/www/virtual/nhl17971048/home/wwwroot/config/ |
<?php use think\Route; use think\Config; if (config('sys.wap_levelurl')) { Route::domain('m.'.config('sys.site_levelurl'),'wap'); }