blob: 1702e4f4b8c1ea908987e8450ab83c5a911fe368 [file] [log] [blame]
adminb0dd10f2006-08-25 17:25:49 +00001<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
2/*
3| -------------------------------------------------------------------------
4| URI ROUTING
5| -------------------------------------------------------------------------
admine334c472006-10-21 19:44:22 +00006| This file lets you re-map URI requests to specific controller functions.
adminb0dd10f2006-08-25 17:25:49 +00007|
admine334c472006-10-21 19:44:22 +00008| Typically there is a one-to-one relationship between a URL string
adminb0dd10f2006-08-25 17:25:49 +00009| and its corresponding controller class/method. The segments in a
10| URL normally follow this pattern:
11|
12| www.your-site.com/class/method/id/
13|
14| In some instances, however, you may want to remap this relationship
15| so that a different class/function is called than the one
admine334c472006-10-21 19:44:22 +000016| corresponding to the URL.
adminb0dd10f2006-08-25 17:25:49 +000017|
18| Please see the user guide for complete details:
19|
20| http://www.codeigniter.com/user_guide/general/routing.html
21|
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|
admine334c472006-10-21 19:44:22 +000036| This route lets you se t a "secret" word that will trigger the
37| scaffolding feature for added security. Note: Scaffolding must be
adminb0dd10f2006-08-25 17:25:49 +000038| enabled in the controller in which you intend to use it.
39|
40*/
41
42$route['default_controller'] = "welcome";
admin19ec9b12006-10-10 23:57:08 +000043$route['scaffolding_trigger'] = "";
adminb0dd10f2006-08-25 17:25:49 +000044
admin6df261f2006-09-22 00:15:07 +000045
46
47
48
adminb0dd10f2006-08-25 17:25:49 +000049?>