Welcome Guest, Not a member yet? Register   Sign In
vars in config / route.php
#2

Yes, you can use variables, etc in your routes file to build your routes.

I don't know where you're getting $tree from. When the routes file has been read in, you don't have access to much of the CodeIgniter code so it would all depend on where that variable was coming from. Without that info I can't say if that exact code is possible.

Have you tried it?
Reply


Messages In This Thread
vars in config / route.php - by dem80 - 08-16-2015, 05:41 AM
RE: vars in config / route.php - by kilishan - 08-16-2015, 07:36 PM
RE: vars in config / route.php - by CroNiX - 08-17-2015, 10:03 AM



Theme © iAndrew 2016 - Forum software by © MyBB