Removing 'home' from the Path in onethink

I’ve been developing a medium-sized project for a while now, and I used onethink for it. Later I found that the path optimization issue kept bugging me; after searching on Baidu over and over, it suddenly worked this morning. After analyzing the reason again and again, it turned out I simply hadn’t cleared the cache. The specific way to change it is as follows. First find the common config.php file, which is under Application\Common\Conf in the project, and in it the code is as follows

      'MODULE\_ALLOW\_LIST'  => array('Home','Admin'), 
      'URL\_ROUTER\_ON' => true, 
      'URL\_ROUTE\_RULES'=>array( 
      'index' => 'Index/index', //首页 
      'article/:id\\d$' => 'Article/detail', //文章页 
      ':category$'=> 'Article/lists' //列表页 ),

Then find URL_MODEL and change the 3 after it to 2, and at the same time copy this line of code and paste it into confi.php under Application\Home\Conf. The code is as follows

        'URL\_MODEL'            => 2, //URL mode         

Then clear the cache — the cache is under Runtime\Cache\Home in the project, so delete all the files in there. After refreshing the browser, home is gone from the path. Here I’d like to say that the onethink framework is still a good one; it’s built on thinkphp3.2 and is very convenient.