| 
 | 
 
 
发表于 2011-11-13 22:23:17
|
显示全部楼层
 
 
 
tsmdream 发表于 2011-11-11 11:41   
application_a  
    application_b 
    system  
我也是这个思路.可以实现 
1.在URL那里通过URI重写,得到某个项目的标识,比如P=a项目 
2.改写index.php里的$application_folder = "application_".$_GET["p"]; 
 
那么,要跑那个项目,就可以通过URI来指定了. 
A项目:http://xxx.xxx.xxx/a项目/index.phh 
 
B项目:http://xxx.xxx.xxx/b项目/index.phh 
 |   
 
 
 
 |