<?php // Admin Section Dispatcher::match('admin', 'admin/index'); Dispatcher::match('admin/([a-z\\-]+)', 'admin>content-types/index/$1'); // Front End Requests Dispatcher::match('(|.+?)', 'front-end/dispatch/$1');
<?php if (!defined('CSS_PATH')) { define('CSS_PATH', ROOT . 'media/css'); } // Include the view helpers require dirname(__FILE__) . '/helpers.php'; // Add a route for processing CSS Dispatcher::match('_css', 'asset_processor/css');
<?php define_default('CSS_PATH', ROOT . 'media/css/'); Dispatcher::match('_css/(.+)', 'less/process/$1');
<?php // Handles dispatching to the homepage Dispatcher::match('', 'welcome/index');
<?php if (!defined('CSS_PATH')) { define('CSS_PATH', ROOT . 'media/css'); } Dispatcher::match('_css', 'css_processor/process');