Home > Article > Backend Development > phpcms mobile portal configuration_PHP tutorial
2. Modify the cachesconfigsroute.php file and add the mobile phone routing address. The method is as follows:
return array( 'default'=>array('m'=>'content', 'c'=>'index', 'a'=>'init'), 'm.tezhengzong.com'=>array('m'=>'wap', 'c'=>'index', 'a'=>'init'), );
Then log in to the phpcms backend, module-》Mobile Portal
1. Add site
Note: Only one mobile portal can be added to a site. 喎?http://www.Bkjia.com/kf/ware/vc/" target="_blank" class="keylink">vcD4KPHA+PHN0cm9uZz4yLrncwO3VvrXjIDwvc3Ryb25nPjwvcD4KPHA+1b6149DeuMSjrMm+s/26zbfWwOC1xLncwO2hozwvcD4KPHA+PGltZyBzcmM9"http://www.2cto.com/ uploadfile/Collfiles/20140912/20140912090905344.jpg" alt="">
3. Classification management
Enter (or select) the modified (or added) content. Click "Submit" to complete the saving operation.
This article comes from Programmer’s Life Network www.wfuyu.com Programmer’s Life, focusing on Internet development