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