<?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');
Beispiel #3
0
<?php

define_default('CSS_PATH', ROOT . 'media/css/');
Dispatcher::match('_css/(.+)', 'less/process/$1');
Beispiel #4
0
<?php

// Handles dispatching to the homepage
Dispatcher::match('', 'welcome/index');
Beispiel #5
0
<?php

if (!defined('CSS_PATH')) {
    define('CSS_PATH', ROOT . 'media/css');
}
Dispatcher::match('_css', 'css_processor/process');