| 12694 |
anikendra |
1 |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
|
|
|
2 |
/*
|
|
|
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 |
|
|
|
|
12 |
| example.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
|
|
|
16 |
| corresponding to the URL.
|
|
|
17 |
|
|
|
|
18 |
| Please see the user guide for complete details:
|
|
|
19 |
|
|
|
|
20 |
| http://codeigniter.com/user_guide/general/routing.html
|
|
|
21 |
|
|
|
|
22 |
| -------------------------------------------------------------------------
|
|
|
23 |
| RESERVED ROUTES
|
|
|
24 |
| -------------------------------------------------------------------------
|
|
|
25 |
|
|
|
|
26 |
| There area 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['404_override'] = 'errors/page_missing';
|
|
|
35 |
|
|
|
|
36 |
| This route will tell the Router what URI segments to use if those provided
|
|
|
37 |
| in the URL cannot be matched to a valid route.
|
|
|
38 |
|
|
|
|
39 |
*/
|
|
|
40 |
|
|
|
41 |
$route['default_controller'] = "fos";
|
|
|
42 |
$route['404_override'] = 'error_page';
|
|
|
43 |
|
|
|
44 |
$route['fos/thanks'] = "fos/thanks";
|
|
|
45 |
$route['fos/dashboard'] = "fos/dashboard";
|
|
|
46 |
$route['fos/signupcounter'] = "fos/signupcounter";
|
| 12732 |
anikendra |
47 |
$route['fos/searchcounter'] = "fos/searchcounter";
|
|
|
48 |
$route['fos/loginas'] = "fos/loginas";
|
|
|
49 |
$route['fos/getusers/(:num)'] = "fos/getusers/$1";
|
| 12763 |
anikendra |
50 |
$route['fos/changeuser'] = "fos/changeuser";
|
| 12694 |
anikendra |
51 |
$route['search'] = 'search/index';
|
|
|
52 |
$route['login'] = 'auth/login';
|
|
|
53 |
$route['login-details'] = 'auth/changePassword';
|
|
|
54 |
$route['logout'] = 'auth/logout';
|
|
|
55 |
$route['login/(:any)'] = 'auth/login/$1';
|
|
|
56 |
$route['register'] = 'auth/signup/$1';
|
|
|
57 |
$route['register/(:any)'] = 'auth/signup/$1';
|
|
|
58 |
$route['cart'] = 'cart/index/$1';
|
|
|
59 |
//$route['recharge'] = 'recharge/index';
|
|
|
60 |
$route['^([a-zA-Z0-9]*-){2,3}+recharge$'] = 'recharge/index';
|
|
|
61 |
$route['confirm'] = 'recharge/confirm';
|
|
|
62 |
$route['confirm!rechargeAgain'] = 'recharge/recharge_again';
|
|
|
63 |
$route['recharge-pay-options'] = 'recharge/payOptions';
|
|
|
64 |
$route['recharge-result'] = 'recharge/orderconfirmation';
|
|
|
65 |
$route['innoviti-pay/(:num)'] = 'checkout/innovitiPayment';
|
|
|
66 |
$route['innoviti-pay-response'] = 'checkout/innovitiResponse';
|
|
|
67 |
$route['shipping'] = 'checkout/shipping';
|
|
|
68 |
$route['payment'] = 'checkout/payment';
|
|
|
69 |
$route['proceed-to-pay'] = 'checkout/payment';
|
|
|
70 |
$route['pay-success'] = 'checkout/orderconfirmation';
|
|
|
71 |
$route['pay-error'] = 'checkout/paymenterror';
|
|
|
72 |
$route['ebs-pay-processing'] = 'checkout/ebsprocessing';
|
|
|
73 |
$route['ebs-pay-response'] = 'checkout/ebsresponse';
|
|
|
74 |
$route['hdfc-pay-response'] = 'checkout/hdfcPayResponse';
|
|
|
75 |
$route['hdfc-emi-pay-response'] = 'checkout/hdfcEmiResponse';
|
|
|
76 |
$rout['hdfc-recharge-response'] = 'recharge/hdfcRechargeResponse';
|
|
|
77 |
$route['my-orders'] = 'myaccount/closed';
|
|
|
78 |
$route['completed-orders'] = 'myaccount/closed';
|
|
|
79 |
$route['failed-orders'] = 'myaccount/closed';
|
|
|
80 |
$route['my-purchases'] = 'myaccount/closed';
|
|
|
81 |
//$route['login-details'] = 'myaccount/closed';
|
|
|
82 |
$route['address'] = 'myaccount/closed';
|
|
|
83 |
$route['personal-details'] = 'myaccount/closed';
|
|
|
84 |
$route['order/(:num)'] = 'myaccount/order';
|
|
|
85 |
$route['my-wallet'] = 'myaccount/wallet';
|
|
|
86 |
$route['contact-us'] = 'contact/index';
|
|
|
87 |
$route['faq'] = 'faq/index';
|
|
|
88 |
$route['static/faq'] = 'faq/index';
|
|
|
89 |
$route['privacy-policy'] = 'faq/privacy';
|
|
|
90 |
$route['static/privacy-policy'] = 'faq/privacy';
|
|
|
91 |
$route['terms-conditions'] = 'faq/terms';
|
|
|
92 |
$route['static/terms-conditions'] = 'faq/terms';
|
|
|
93 |
$route['static/insurance-terms'] = 'statics/insuranceterms';
|
|
|
94 |
$route['emi-info'] = 'faq/emi';
|
|
|
95 |
$route['otg'] = 'faq/otg';
|
|
|
96 |
$route['static/on-time-guarantee'] = 'faq/otg';
|
|
|
97 |
$route['instore'] = 'faq/instore';
|
|
|
98 |
$route['insure'] = 'faq/insure';
|
|
|
99 |
$route['my-recharges'] = 'myaccount/recharges';
|
|
|
100 |
$route['refund/(:any)'] = 'myaccount/refund/$1';
|
|
|
101 |
$route['recharge-faq'] = 'recharge/rechargeFaq';
|
|
|
102 |
$route['static/recharge-faq'] = 'recharge/rechargeFaq';
|
|
|
103 |
$route['forgot-password'] = 'auth/login';
|
|
|
104 |
$route['static/oneassist-terms'] = 'faq/oneassists';
|
|
|
105 |
$route['static/aboutus'] = 'faq/aboutus';
|
|
|
106 |
$route['static/easy-linux'] = 'faq/easylinux';
|
|
|
107 |
$route['static/recharge-offer'] = 'faq/rechargeoffer';
|
|
|
108 |
$route['static/buy-online-and-pickup-in-store'] = 'faq/pickup';
|
|
|
109 |
$route['static/giftvoucher-offer'] = 'statics/invalidoffer';
|
|
|
110 |
$route['static/win-galaxy-s3-contest'] = 'statics/invalidoffer';
|
|
|
111 |
$route['static/get-paid-for-your-reviews'] = 'statics/invalidoffer';
|
|
|
112 |
$route['static/accessory-offer'] = 'statics/invalidoffer';
|
|
|
113 |
$route['static/spiceaircel-offer'] = 'statics/invalidoffer';
|
|
|
114 |
$route['private-deals/1'] = 'privatedeals';
|
|
|
115 |
$route['privatedeals'] = 'privatedeals';
|
|
|
116 |
|
|
|
117 |
|
|
|
118 |
$route['(?!.*(?:home|login|auth|product|logout|getSearchList|getProductList|getSpecialProductList|myaccount|welcome|cart|shipping|checkout|registration|operator|topupSpecial|support|recharge|contact|static).*)^([a-zA-Z-/]*)'] = "products/index/$1";
|
|
|
119 |
$route['(?!.*(?:home|login|auth|product|logout|getSearchList|getProductList|getSpecialProductList|myaccount|welcome|cart|shipping|checkout|registration|operator|topupSpecial|support|recharge|contact|static).*)^([a-zA-Z-/]*)/(:num)'] = "products/index/$1";
|
|
|
120 |
$route['(?!.*(?:home|login|auth|getProductList|getSearchList|getSpecialProductList|getDeliveryDetails|myaccount|cart|shipping|checkout|operator|topupSpecial|recharge|contact|static).*)^([a-zA-Z-]*)/(:any)'] = "productinfo/index/$1";
|
|
|
121 |
|
|
|
122 |
/* End of file routes.php */
|
|
|
123 |
/* Location: ./application/config/routes.php */
|