<?php
return array(	
    'URL_CASE_INSENSITIVE' => true, 
    'URL_PATHINFO_DEPR'    => '/', 	
    'URL_MODEL'            => 3,
	'DEFAULT_THEME'			 => 'default', 
	'TMPL_TEMPLATE_SUFFIX'	 => '.html', 
	'VIEW_PATH'				 => './Themes/Home/',
	 'TMPL_PARSE_STRING'=>array(   
	'__PUBLIC__' => __ROOT__ . '/Common',
	'__UPLOAD__' => __ROOT__ . '/Uploads/image',
	'__DATA__' =>  __ROOT__ . '/Data',
	'__RES__' => __ROOT__.'/Themes/'.MODULE_NAME.'/default/Public', 
    '__IMG__'=>__ROOT__.'/Themes/'.MODULE_NAME.'/default/Public/image',
    '__CSS__'=>__ROOT__.'/Themes/'.MODULE_NAME.'/default/Public/css',
    '__JS__'=> __ROOT__.'/Themes/'.MODULE_NAME.'/default/Public/js',
    ), 	
	
	
    'SESSION_PREFIX' => 'oscshop_seller_s', //session前缀
    'COOKIE_PREFIX'  => 'oscshop_c_', 

  	'URL_ROUTER_ON'   => true, 
	'URL_ROUTE_RULES'=>array(
	
		'/^products\/(\d+)$/'=>'goods/all?p=:1',
		'products'=>'goods/all',
		
		'/^gallery\/(\w+)$/'=>'gallery/pshow?id=:1',		
		'/^gallerys\/(\d+)$/'=>'gallery/all?p=:1',
		'gallerys'=>'gallery/all',
		
		'/^gcategory\/(\w+)$/'=>'gallery/category?id=:1',
		'/^gcategory\/(\w+)\/p\/(\d+)$/'=>'gallery/category?id=:1&p=:2',	
			
		
		'/^blogc\/(\w+)$/'=>'blog/category?cid=:1',
		
		'/^blogc\/(\w+)\/p\/(\d+)$/'=>'blog/category?cid=:1&p=:2',
		
		'blogs'=>'blog/index',		
		
		'/^blog\/(\w+)$/'=>'blog/show_blog_content?id=:1',
		
		'reply'=>'form/reply',		
		'/^replys\/(\w+)$/'=>'blog/show_reply?id=:1',

		'about'=>'html/about',
		'contact'=>'html/contact',
		'comment'=>'form/comment',
		
		'/^goods\/(\w+)$/'=>'goods/gshow?id=:1',		
		
	 
		'check_verify'=>'blog/check_verify',		
		
		
		'/^remove\/(\S+)$/'=>'cart/remove?data=:1',
		'checkout'=>'cart/checkout',
	    'pay_voucher' => 'cart/get_user_pay_voucher',
		'done' => 'checkout/confirm_done',
		'c_login'=>'checkout/login',
		'/^c_user\/(\w+)$/'=>'checkout/user?u=:1',
		'c_register'=>'checkout/register',
	    'addressbind'=>'user/save_address',
		'confirm'=>'checkout/confirm',
		'c_getarea'=>'checkout/get_area',
		'shipping_method'=>'checkout/shipping_method',
		'shipping_address'=>'checkout/shipping_address',
		'validate_login'=>'checkout/validate_login',
		'payment_method'=>'checkout/payment_method',
		'validate_shipping_address'=>'checkout/validate_shipping_address',
		'validate_shipping_method'=>'checkout/validate_shipping_method',
		'validate_payment_method'=>'checkout/validate_payment_method',
		
		'login'=>'public/login',
    	'wxlogin'=>'public/wxlogin',
		'register'=>'public/register',
		'logout'=>'public/logout',
		
		'password'=>'user/password',
		'address'=>'user/address',
		'add_address'=>'user/add_address',
		
		'/^edit_address\/(\w+)$/'=>'user/edit_address?id=:1',
		'edit_address'=>'user/edit_address',
		
		'/^delete_address\/(\w+)$/'=>'user/delete_address?id=:1',
		
		'/^info\/(\w+)$/'=>'user/info?id=:1',
		
		'/^cancel_order\/(\w+)$/'=>'user/cancel_order?id=:1',
		
		'account'=>'user/account',
		'pay_success'=>'user/pay_success',
		'forgot'=>'public/forgot'
	),  
	  	
);