I wrote this component for a simple content management system that I was building for a customer that I will go over in another upcoming post. It can be used to create and remove routes on the fly. /app/controllers/components/route.php 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849<?php class RouteComponent extends Object { var $route_file = '../config/routes.php'; [...]
