New version submitted by TomB
[carbonphp.git] / Source / application / config / routing.php
blob0c934b78733949d1bb8ef1d4103d58281112df8e
1 <?php
2 /*------------------------------------------------------------
3 * CarbonPHP framework (C) Tom Bell
4 * http://tombell.org.uk
5 *------------------------------------------------------------*/
7 if (!defined('CARBON_PATH'))
9 exit('Direct script access is not allowed.');
12 /*------------------------------------------------------------
13 * This is the default controller which will be used if
14 * no controller is specified in the URI.
15 *------------------------------------------------------------*/
16 $routing['default_controller'] = 'blog';
18 /*------------------------------------------------------------
19 * This is a secret keyword used to trigger a scaffolding
20 * request. It is here for added security. You must
21 * enable scaffolding in the controller you wish to use it
22 * in
23 *------------------------------------------------------------*/
24 $routing['scaffolding_trigger'] = '';
26 /*------------------------------------------------------------
27 * You may enter any custom routes here. For example:
28 * $routing['foo/bar/'] = 'carbon/index/';
29 *------------------------------------------------------------*/