Rev 12732 | 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'] = "fos";$route['404_override'] = 'error_page';$route['fos/thanks'] = "fos/thanks";$route['fos/dashboard'] = "fos/dashboard";$route['fos/signupcounter'] = "fos/signupcounter";$route['search'] = 'search/index';$route['login'] = 'auth/login';$route['login-details'] = 'auth/changePassword';$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['^([a-zA-Z0-9]*-){2,3}+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['proceed-to-pay'] = '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['hdfc-emi-pay-response'] = 'checkout/hdfcEmiResponse';$rout['hdfc-recharge-response'] = 'recharge/hdfcRechargeResponse';$route['my-orders'] = 'myaccount/closed';$route['completed-orders'] = 'myaccount/closed';$route['failed-orders'] = 'myaccount/closed';$route['my-purchases'] = 'myaccount/closed';//$route['login-details'] = 'myaccount/closed';$route['address'] = 'myaccount/closed';$route['personal-details'] = 'myaccount/closed';$route['order/(:num)'] = 'myaccount/order';$route['my-wallet'] = 'myaccount/wallet';$route['contact-us'] = 'contact/index';$route['faq'] = 'faq/index';$route['static/faq'] = 'faq/index';$route['privacy-policy'] = 'faq/privacy';$route['static/privacy-policy'] = 'faq/privacy';$route['terms-conditions'] = 'faq/terms';$route['static/terms-conditions'] = 'faq/terms';$route['static/insurance-terms'] = 'statics/insuranceterms';$route['emi-info'] = 'faq/emi';$route['otg'] = 'faq/otg';$route['static/on-time-guarantee'] = 'faq/otg';$route['instore'] = 'faq/instore';$route['insure'] = 'faq/insure';$route['my-recharges'] = 'myaccount/recharges';$route['refund/(:any)'] = 'myaccount/refund/$1';$route['recharge-faq'] = 'recharge/rechargeFaq';$route['static/recharge-faq'] = 'recharge/rechargeFaq';$route['forgot-password'] = 'auth/login';$route['static/oneassist-terms'] = 'faq/oneassists';$route['static/aboutus'] = 'faq/aboutus';$route['static/easy-linux'] = 'faq/easylinux';$route['static/recharge-offer'] = 'faq/rechargeoffer';$route['static/buy-online-and-pickup-in-store'] = 'faq/pickup';$route['static/giftvoucher-offer'] = 'statics/invalidoffer';$route['static/win-galaxy-s3-contest'] = 'statics/invalidoffer';$route['static/get-paid-for-your-reviews'] = 'statics/invalidoffer';$route['static/accessory-offer'] = 'statics/invalidoffer';$route['static/spiceaircel-offer'] = 'statics/invalidoffer';$route['private-deals/1'] = 'privatedeals';$route['privatedeals'] = 'privatedeals';$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";$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";$route['(?!.*(?:home|login|auth|getProductList|getSearchList|getSpecialProductList|getDeliveryDetails|myaccount|cart|shipping|checkout|operator|topupSpecial|recharge|contact|static).*)^([a-zA-Z-]*)/(:any)'] = "productinfo/index/$1";/* End of file routes.php *//* Location: ./application/config/routes.php */