blob: c95924832b1c1895100ef1362619bbb2e6228b35 [file] [log] [blame]
Derek Jones0b59f272008-05-13 04:22:33 +00001<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
Derek Allard24d95442007-04-30 12:21:37 +00002/*
3| -------------------------------------------------------------------------
4| URI ROUTING
5| -------------------------------------------------------------------------
6| This file lets you re-map URI requests to specific controller functions.
7|
8| Typically there is a one-to-one relationship between a URL string
9| and its corresponding controller class/method. The segments in a
10| URL normally follow this pattern:
11|
Derek Jonesff845f92008-06-26 17:05:55 +000012| example.com/class/method/id/
Derek Allard24d95442007-04-30 12:21:37 +000013|
14| In some instances, however, you may want to remap this relationship
15| so that a different class/function is called than the one
16| corresponding to the URL.
17|
18| Please see the user guide for complete details:
19|
Derek Jones7a9193a2008-01-21 18:39:20 +000020| http://codeigniter.com/user_guide/general/routing.html
Derek Allard24d95442007-04-30 12:21:37 +000021|
22| -------------------------------------------------------------------------
23| RESERVED ROUTES
24| -------------------------------------------------------------------------
25|
26| There are two reserved routes:
27|
28| $route['default_controller'] = 'welcome';
29|
30| This route indicates which controller class should be loaded if the
31| URI contains no data. In the above example, the "welcome" class
32| would be loaded.
33|
34| $route['scaffolding_trigger'] = 'scaffolding';
35|
36| This route lets you set a "secret" word that will trigger the
37| scaffolding feature for added security. Note: Scaffolding must be
38| enabled in the controller in which you intend to use it. The reserved
39| routes must come before any wildcard or regular expression routes.
40|
41*/
42
43$route['default_controller'] = "welcome";
44$route['scaffolding_trigger'] = "";
45
Derek Jones0b59f272008-05-13 04:22:33 +000046
47/* End of file routes.php */
Derek Jonesa3ffbbb2008-05-11 18:18:29 +000048/* Location: ./system/application/config/routes.php */