Some help.. |
[eluser]oriceon[/eluser]
Yes it is the base... all works if i access http://localhost/site/main/lists.html it is loaded.. but if i access /site/lists.html .. return 404
[eluser]adamp1[/eluser]
Where you from btw xwero, we always seem to be on the forum at the same time, when no-one else is
[eluser]xwero[/eluser]
Code: $route['([a-z]+)'] = 'main/$1';
[eluser]adamp1[/eluser]
What??? Other side of the canal?? Back on topic: If that doesn't work then I don't know what's going on.
[eluser]oriceon[/eluser]
yes that works So don`t eat your hat Than for helping! :X I don`t know why your top post wasn`t working.. :|
[eluser]adamp1[/eluser]
So it all works now? It routes when an $id isn't given and when one is given to main/lists???
[eluser]xwero[/eluser]
Channel, the Nord sea Channel. In Belgium. I really should wake up.
[eluser]oriceon[/eluser]
Code: class Blog extends Controller { Now, i created another controler than main.php, it is caled blog.php and i have that code.Why when i access http://localhost/site/blog.html doesn`t load it? :| It is problem from that route .. ? Thanks |
Welcome Guest, Not a member yet? Register Sign In |