-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathroutes.php
109 lines (88 loc) · 3.88 KB
/
routes.php
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
109
<?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 area 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['404_override'] = 'errors/page_missing';
|
| This route will tell the Router what URI segments to use if those provided
| in the URL cannot be matched to a valid route.
|
*/
$route[ 'api' ] = 'main';
$route[ 'api/(:any)' ] = 'main/$1';
$route[ 'api/(:any)/(:any)' ] = 'main/$1/$2';
$route[ 'back' ] = 'back';
$route[ 'back/(:any)' ] = 'back/$1';
$route[ 'back/(:any)/(:any)' ] = 'back/$1/$2';
$route[ 'activation' ] = 'back/activation';
$route[ 'tracker.js' ] = 'main/jscheck_ip';
$route[ 'jscdn/(:any)' ] = 'main/jscheck_ip/0';
$route[ 'cdnjs/(:any)' ] = 'main/jscheck_ip/1';
$route[ 'ips' ] = 'admin/ips';
$route[ 'ips/(:any)' ] = 'admin/ips/$1';
$route[ 'ip/(:any)' ] = 'admin/ip/$1';
$route[ 'ajax_ips' ] = 'admin/ajax_ips';
$route[ 'domain/(:any)' ] = 'admin/domain/$1';
$route[ 'ajax_domain/(:any)' ] = 'admin/ajax_domain/$1';
$route[ 'domains' ] = 'admin/domains';
$route[ 'ajax_domains' ] = 'admin/ajax_domains';
$route[ 'delete_logs' ] = 'admin/delete_logs';
$route[ 'delete_logs_domain/(:any)' ] = 'admin/delete_logs_domain/$1';
$route[ 'download_domain/(:any)' ] = 'admin/download_domain/$1';
$route[ 'pixel_red' ] = 'admin/pixel_red';
$route[ 'pixel_red_isp' ] = 'admin/pixel_red_isp';
$route[ 'pixel_red_ua' ] = 'admin/pixel_red_ua';
$route[ 'leads' ] = 'admin/leads';
$route[ 'leads/(:any)' ] = 'admin/leads/$1';
$route[ 'delete_lead/(:any)' ] = 'admin/delete_lead/$1';
$route[ 'delete_all_leads' ] = 'admin/delete_all_leads';
$route[ 'delete_all_leads/(:any)' ] = 'admin/delete_all_leads/$1';
$route[ 'genpostback' ] = 'admin/genpostback';
$route[ 'postback/(:any)/(:any)/(:any)' ] = 'main/postback/$1/$2/$3';
$route[ 'impostback' ] = 'main/impostback';
$route[ 'ajax_leads' ] = 'admin/ajax_leads';
$route[ 'ajax_leads/(:any)' ] = 'admin/ajax_leads/$1';
$route[ 'setup' ] = 'admin/setup';
$route[ 'net' ] = 'admin/net';
$route[ 'delete_net/(:any)' ] = 'admin/delete_net/$1';
$route[ 'isp' ] = 'admin/isp';
$route[ 'delete_isp/(:any)' ] = 'admin/delete_isp/$1';
$route[ 'ua' ] = 'admin/ua';
$route[ 'delete_ua/(:any)' ] = 'admin/delete_ua/$1';
$route[ 'delete_all_black' ] = 'admin/delete_all_black';
$route[ 'delete_black_ip/(:any)' ] = 'admin/delete_black_ip/$1';
$route[ 'delete_domain/(:any)' ] = 'admin/delete_domain/$1';
$route[ 'delete_domains/(:any)' ] = 'admin/delete_domains/$1';
$route[ 'default_controller' ] = "admin";
$route[ '404_override' ] = '';
/* End of file routes.php */
/* Location: ./application/config/routes.php */