Welcome Guest, Not a member yet? Register   Sign In
Trailing Slash (Front & Back) Sharing libs and models
#1

[eluser]Ignacio[/eluser]
Code:
system/application/controllers
system/application/controllers/admin
system/application/models
system/application/libraries
system/application/views
system/application/views/admin
assets/admin/img
assets/admin/css
assets/admin/js
assets/img
assets/css
assets/js

I have a problem with the trailing slash!!!!!
I'm using all the CI on subfolders, but I don't know if that a problem here. Check my example.

site.com/clients/client/ -> frontend
site.com/clients/clients/admin/ > backend

site.com/clients/client -> without "/" the system add it automatically, so, it works fine
site.com/clients/client/admin -> without "/" isn't work

I'm using ElliotHaughin's htaccess with just a line change:
Code:
RewriteBase /clients/client/

Maybe you don't like my structure, but it work fine for me on small apps.

Any ideas?


Messages In This Thread
Trailing Slash (Front & Back) Sharing libs and models - by El Forum - 06-09-2008, 08:40 PM
Trailing Slash (Front & Back) Sharing libs and models - by El Forum - 06-09-2008, 10:11 PM
Trailing Slash (Front & Back) Sharing libs and models - by El Forum - 06-09-2008, 11:10 PM
Trailing Slash (Front & Back) Sharing libs and models - by El Forum - 06-10-2008, 01:20 AM



Theme © iAndrew 2016 - Forum software by © MyBB