forked from twilio/OpenVBX
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathroutes.php
More file actions
108 lines (105 loc) · 4.49 KB
/
Copy pathroutes.php
File metadata and controls
108 lines (105 loc) · 4.49 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/*
| -------------------------------------------------------------------------
| URI ROUTING
| -------------------------------------------------------------------------
| This file lets you re-map URI requests to specific controller functions.
|
| Typically there is a one-to-one relationship between a URL string
| and its corresponding controller class/method. The segments in a
| URL normally follow this pattern:
|
| example.com/class/method/id/
|
| In some instances, however, you may want to remap this relationship
| so that a different class/function is called than the one
| corresponding to the URL.
|
| Please see the user guide for complete details:
|
| http://codeigniter.com/user_guide/general/routing.html
|
| -------------------------------------------------------------------------
| RESERVED ROUTES
| -------------------------------------------------------------------------
|
| There are two reserved routes:
|
| $route['default_controller'] = 'welcome';
|
| This route indicates which controller class should be loaded if the
| URI contains no data. In the above example, the "welcome" class
| would be loaded.
|
| $route['scaffolding_trigger'] = 'scaffolding';
|
| This route lets you set a "secret" word that will trigger the
| scaffolding feature for added security. Note: Scaffolding must be
| enabled in the controller in which you intend to use it. The reserved
| routes must come before any wildcard or regular expression routes.
|
*/
$route['default_controller'] = 'iframe';
$route['scaffolding_trigger'] = '';
$route['install'] = 'install';
$route['upgrade'] = 'upgrade';
$route['welcome'] = 'welcome';
$route['welcome/(:any)'] = 'welcome/$1';
$route['upgrade/setup'] = "upgrade/setup";
$route['upgrade/validate'] = "upgrade/validate";
$route['messages'] = "messages/message_index";
$route['messages/inbox/(:num)'] = "messages/inbox/index/$1";
$route['messages/scripts/(:num)'] = "messages/inbox/scripts/$1";
$route['messages/scripts'] = "messages/inbox/scripts";
$route['messages/details/(:num)/(:any)'] = "messages/details/index/$1/$2";
$route['messages/details/(:any)'] = "messages/details/index/$1";
$route['messages/call/(:num)'] = 'messages/message_call/index/$1';
$route['messages/call'] = 'messages/message_call/index';
$route['messages/client'] = 'messages/message_call/client';
$route['messages/sms/(:num)'] = 'messages/message_text/index/$1';
$route['messages/sms'] = 'messages/message_text/index';
$route['accounts'] = "accounts";
$route['account/number/(:any)'] = "devices/number/$1"; // Deprecating account/number
$route['account/number'] = "devices/number"; // Deprecating account/number
$route['account'] = "account";
$route['account/edit/(:num)'] = 'account/edit/$1';
$route['account/user/(:num)'] = 'account/user/$1';
$route['flows'] = "flows";
$route['numbers/token'] = "numbers/token";
$route['numbers'] = "numbers";
$route['audio'] = "audio";
$route['audiofiles'] = "audiofiles";
$route['log'] = "log";
$route['settings'] = 'settings/settings_index';
$route['settings/site/caches/(:any)'] = 'settings/caches/$1';
$route['settings/site/(:any)/(:num)'] = 'settings/site/index/$1/$2';
$route['settings/site/(:any)'] = 'settings/site/index/$1';
$route['settings/site'] = 'settings/site/index';
$route['auth/connect/account_deauthorized'] = 'auth/connect/account_deauthorized';
$route['auth/connect/deauthorize'] = 'auth/connect/deauthorize';
$route['auth/reset/(:any)'] = "auth/reset/set_password/$1";
$route['auth'] = "auth";
$route['twiml/start/voice/(:any)'] = "twiml/start_voice/$1";
$route['twiml/start/sms/(:any)'] = "twiml/start_sms/$1";
$route['twiml/applet/voice/(:any)/(:any)'] = "twiml/voice/$1/$2";
$route['twiml/applet/sms/(:any)/(:any)'] = "twiml/sms/$1/$2";
$route['twiml'] = "twiml";
$route['p/(:any)'] = "page/index/$1";
$route['p/(:any)/(:any)'] = "page/index/$1/$2";
$route['p'] = "page/index/$1";
$route['config/(:any)'] = "config/index/$1";
$route['config'] = "config/index/$1";
$route['connect'] = "connect";
$route['dialog'] = "dialog";
$route['client'] = "client";
$route['devices'] = "devices";
$route['voicemail'] = "voicemail";
$route['hook/(:any)'] = "hook/index/$1";
$route['hook/(:any)/(:any)'] = "hook/index/$1/$2";
$route['external/messages/details/(:any)'] = 'external/message_details/$1';
$route['external'] = "external";
$route['iphone/messages/details/(:any)'] = 'iphone/message_details/$1';
$route['iphone'] = "iphone";
$route['iframe'] = "iframe";
/* End of file routes.php */
/* Location: ./system/application/config/routes.php */