Rev 10842 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
<?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['default_controller'] = "home";$route['404_override'] = '';$route['search'] = 'search/index';$route['login'] = 'auth/login';$route['logout'] = 'auth/logout';$route['login/(:any)'] = 'auth/login/$1';$route['register'] = 'auth/signup/$1';$route['register/(:any)'] = 'auth/signup/$1';$route['cart'] = 'cart/index/$1';$route['recharge'] = 'recharge/index';$route['confirm'] = 'recharge/confirm';$route['confirm!rechargeAgain'] = 'recharge/recharge_again';$route['recharge-pay-options'] = 'recharge/payOptions';$route['recharge-result'] = 'recharge/orderconfirmation';$route['innoviti-pay/(:num)'] = 'checkout/innovitiPayment';$route['innoviti-pay-response'] = 'checkout/innovitiResponse';$route['shipping'] = 'checkout/shipping';$route['payment'] = 'checkout/payment';$route['pay-success'] = 'checkout/orderconfirmation';$route['pay-error'] = 'checkout/paymenterror';$route['ebs-pay-processing'] = 'checkout/ebsprocessing';$route['ebs-pay-response'] = 'checkout/ebsresponse';$route['hdfc-pay-response'] = 'checkout/hdfcPayResponse';$route['my-orders'] = 'myaccount/closed';$route['order/(:num)'] = 'myaccount/order';$route['my-wallet'] = 'myaccount/wallet';$route['contact-us'] = 'contact/index';$route['my-recharges'] = 'myaccount/recharges';$route['refund/(:any)'] = 'myaccount/refund/$1';$route['recharge-faq'] = 'recharge/rechargeFaq';$route['(?!.*(?:home|login|auth|product|logout|getSearchList|getProductList|getSpecialProductList|myaccount|welcome|cart|shipping|checkout|registration|operator|topupSpecial|support|recharge|contact).*)^([a-zA-Z-/]*)'] = "products/index/$1";$route['(?!.*(?:home|login|auth|product|logout|getSearchList|getProductList|getSpecialProductList|myaccount|welcome|cart|shipping|checkout|registration|operator|topupSpecial|support|recharge|contact).*)^([a-zA-Z-/]*)/(:num)'] = "products/index/$1";$route['(?!.*(?:home|login|auth|getProductList|getSearchList|getSpecialProductList|getDeliveryDetails|myaccount|cart|shipping|checkout|operator|topupSpecial|recharge|contact).*)^([a-zA-Z-]*)/(:any)'] = "productinfo/index/$1";/* End of file routes.php *//* Location: ./application/config/routes.php */