|
我在Application下创建了两个文件夹,类似这样:
applications/home/
applications/home/config/
applications/home/controllers/
applications/home/errors/
applications/home/libraries/
applications/home/models/
applications/home/views/
applications/admin/
applications/admin/config/
applications/admin/controllers/
applications/admin/errors/
applications/admin/libraries/
applications/admin/models/
applications/admin/views/
在根目录下index.php设置$application_folder = "applications/foo";
admin.php 设置$application_folder = "applications/admin";
OK,一切正常。问题是访问admin应用程序时。地址是这样:http://www.xxxx.com/admin.php/login
请问,如何隐藏admin.php,使地址变成这样http://www.xxxx.com/admin/login
|
|