Subversion Repositories SmartDukaan

Rev

Rev 12694 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
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";
12694 anikendra 50
$route['search'] = 'search/index';
51
$route['login'] = 'auth/login';
52
$route['login-details'] = 'auth/changePassword';
53
$route['logout'] = 'auth/logout';
54
$route['login/(:any)'] = 'auth/login/$1';
55
$route['register'] = 'auth/signup/$1';
56
$route['register/(:any)'] = 'auth/signup/$1';
57
$route['cart'] = 'cart/index/$1';
58
//$route['recharge'] = 'recharge/index';
59
$route['^([a-zA-Z0-9]*-){2,3}+recharge$'] = 'recharge/index';
60
$route['confirm'] = 'recharge/confirm';
61
$route['confirm!rechargeAgain'] = 'recharge/recharge_again';
62
$route['recharge-pay-options'] = 'recharge/payOptions';
63
$route['recharge-result'] = 'recharge/orderconfirmation';
64
$route['innoviti-pay/(:num)'] = 'checkout/innovitiPayment';
65
$route['innoviti-pay-response'] = 'checkout/innovitiResponse';
66
$route['shipping'] = 'checkout/shipping';
67
$route['payment'] = 'checkout/payment';
68
$route['proceed-to-pay'] = 'checkout/payment';
69
$route['pay-success'] = 'checkout/orderconfirmation';
70
$route['pay-error'] = 'checkout/paymenterror';
71
$route['ebs-pay-processing'] = 'checkout/ebsprocessing';
72
$route['ebs-pay-response'] = 'checkout/ebsresponse';
73
$route['hdfc-pay-response'] = 'checkout/hdfcPayResponse';
74
$route['hdfc-emi-pay-response'] = 'checkout/hdfcEmiResponse';
75
$rout['hdfc-recharge-response'] = 'recharge/hdfcRechargeResponse';
76
$route['my-orders'] = 'myaccount/closed';
77
$route['completed-orders'] = 'myaccount/closed';
78
$route['failed-orders'] = 'myaccount/closed';
79
$route['my-purchases'] = 'myaccount/closed';
80
//$route['login-details'] = 'myaccount/closed';
81
$route['address'] = 'myaccount/closed';
82
$route['personal-details'] = 'myaccount/closed';
83
$route['order/(:num)'] = 'myaccount/order';
84
$route['my-wallet'] = 'myaccount/wallet';
85
$route['contact-us'] = 'contact/index';
86
$route['faq'] = 'faq/index';
87
$route['static/faq'] = 'faq/index';
88
$route['privacy-policy'] = 'faq/privacy';
89
$route['static/privacy-policy'] = 'faq/privacy';
90
$route['terms-conditions'] = 'faq/terms';
91
$route['static/terms-conditions'] = 'faq/terms';
92
$route['static/insurance-terms'] = 'statics/insuranceterms';
93
$route['emi-info'] = 'faq/emi';
94
$route['otg'] = 'faq/otg';
95
$route['static/on-time-guarantee'] = 'faq/otg';
96
$route['instore'] = 'faq/instore';
97
$route['insure'] = 'faq/insure';
98
$route['my-recharges'] = 'myaccount/recharges';
99
$route['refund/(:any)'] = 'myaccount/refund/$1';
100
$route['recharge-faq'] = 'recharge/rechargeFaq';
101
$route['static/recharge-faq'] = 'recharge/rechargeFaq';
102
$route['forgot-password'] = 'auth/login';
103
$route['static/oneassist-terms'] = 'faq/oneassists';
104
$route['static/aboutus'] = 'faq/aboutus';
105
$route['static/easy-linux'] = 'faq/easylinux';
106
$route['static/recharge-offer'] = 'faq/rechargeoffer';
107
$route['static/buy-online-and-pickup-in-store'] = 'faq/pickup';
108
$route['static/giftvoucher-offer'] = 'statics/invalidoffer';
109
$route['static/win-galaxy-s3-contest'] = 'statics/invalidoffer';
110
$route['static/get-paid-for-your-reviews'] = 'statics/invalidoffer';
111
$route['static/accessory-offer'] = 'statics/invalidoffer';
112
$route['static/spiceaircel-offer'] = 'statics/invalidoffer';
113
$route['private-deals/1'] = 'privatedeals';
114
$route['privatedeals'] = 'privatedeals';
115
 
116
 
117
$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";
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-/]*)/(:num)'] = "products/index/$1";
119
$route['(?!.*(?:home|login|auth|getProductList|getSearchList|getSpecialProductList|getDeliveryDetails|myaccount|cart|shipping|checkout|operator|topupSpecial|recharge|contact|static).*)^([a-zA-Z-]*)/(:any)'] = "productinfo/index/$1";
120
 
121
/* End of file routes.php */
122
/* Location: ./application/config/routes.php */