Subversion Repositories SmartDukaan

Rev

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

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