<?php
return array(
	'default'=>array('g'=>'app','m'=>'content', 'c'=>'index', 'a'=>'index'),
	'admin'=>array('m'=>'admin', 'c'=>'main', 'a'=>'init'),
	'routes' =>  array( //定义路由规则
			'login$'=>'app/member/member/login',
			'register$'=>'app/member/member/register',
			'cart$'=>'app/shop/cart/index',
			'orders$'=>'app/shop/orders/index',
			'pwd$'=>'app/member/member/pwd',
			'member$'=>'app/member/member/index',
			'myinfo$'=>'app/member/member/myinfo',
			'notice$'=>'app/member/notice/index',
			'logout$'=>'app/member/member/logout',
			'quick_login$'=>'app/member/member/quick_login',
			'findpwd$'=>'app/member/member/findpwd',
			'/^([a-z0-9]+)\/index$/'        => 'app/content/index/index?lang=:1',
			'/^lists\/(\d+)$/'        => 'app/content/index/lists?catid=:1',
			'/^home\/(\d+)$/'        => 'app/content/index/home?catid=:1',
			'/^singlepage\/(\d+)$/'   => 'app/content/index/singlepage?catid=:1',
			'/^customform\/(\d+)$/'        => 'app/content/index/customform?catid=:1',
			'/^info\/(\d+)\/(\d+)$/' => 'app/content/index/show?catid=:1&id=:2',
			'/^([a-z0-9]+)\/home\/(\d+)$/'        => 'app/content/index/home?catid=:2&lang=:1',
			'/^([a-z0-9]+)\/lists\/(\d+)$/'        => 'app/content/index/lists?catid=:2&lang=:1',
			'/^([a-z0-9]+)\/singlepage\/(\d+)$/'   => 'app/content/index/singlepage?catid=:2&lang=:1',
			'/^([a-z0-9]+)\/customform\/(\d+)$/'        => 'app/content/index/customform?catid=:2&lang=:1',
			'/^([a-z0-9]+)\/info\/(\d+)\/(\d+)$/' => 'app/content/index/show?catid=:2&id=:3&lang=:1',
			'/^([a-z0-9]+)\/login/'=>'app/member/member/login?lang=:1',
			'/^([a-z0-9]+)\/register$/'=>'app/member/member/register?lang=:1',
			'/^([a-z0-9]+)\/cart$/'=>'app/shop/cart/index?lang=:1',
			'/^([a-z0-9]+)\/orders$/'=>'app/shop/orders/index?lang=:1',
			'/^([a-z0-9]+)\/pwd$/'=>'app/member/member/pwd$?lang=:1',
			'/^([a-z0-9]+)\/member$/'=>'app/member/member/index?lang=:1',
			'/^([a-z0-9]+)\/myinfo$/'=>'app/member/member/myinfo?lang=:1',
			'/^([a-z0-9]+)\/notice$/'=>'app/member/notice/index?lang=:1',
			'/^([a-z0-9]+)\/logout$/'=>'app/member/member/logout?lang=:1',
			'/^([a-z0-9]+)\/findpwd$/'=>'app/member/member/findpwd?lang=:1',
			'/^([a-z0-9]+)\/quick_login$/'=>'app/member/member/quick_login?lang=:1'
		  )  
     );
?>