Database driven routes in CodeIgniter with caching |
[eluser]neillyons.co[/eluser]
A faster, simpler and easier solution to database driven routes in CodeIgniter. Don't know what I'm on about? Read my previous post on database driven routes. Prerequisites * CodeIgniter (obviously ;-P ) * Datamapper Step 1 Define 3 new methods in your routes model (..system/application/models/route.php). Code: function save() Step 2 Insert the code below into the routes.php file ( ..system/application/configs/routes.php ) after the scaffolding trigger. Code: include_once BASEPATH . "cache/routes.php"; |
Messages In This Thread |
Database driven routes in CodeIgniter with caching - by El Forum - 05-04-2010, 05:12 PM
Database driven routes in CodeIgniter with caching - by El Forum - 05-31-2010, 03:41 AM
Database driven routes in CodeIgniter with caching - by El Forum - 02-27-2011, 11:25 AM
Database driven routes in CodeIgniter with caching - by El Forum - 02-27-2011, 11:26 AM
Database driven routes in CodeIgniter with caching - by El Forum - 02-27-2011, 11:41 AM
Database driven routes in CodeIgniter with caching - by El Forum - 03-03-2011, 07:25 AM
Database driven routes in CodeIgniter with caching - by El Forum - 08-10-2011, 12:53 PM
Database driven routes in CodeIgniter with caching - by El Forum - 01-31-2013, 03:51 AM
|