<?php
$rule=array (
  'ENV' => 'global',
  'DEBUG' => 1,
  'LOG_ON' => false,
  'LOG_PATH' => ROOT_PATH . 'data/log/',
  'TIMEZONE' => 'PRC',
  'moren' => 'index',
  'REWRITE_ON' => 1,
  'REWRITE_RULE' => 
  array (
    'index.html' => 'index/index/index',
    'install.html' => 'install/index/index',
    'cat-<nav>.html' => 'index/index/index/nav=<nav>',
    'list-<list>.html' => 'index/index/index/list=<list>',
    'archive-<ym>.html' => 'index/index/index/ym=<ym>',
    'view-<id>.html' => 'index/index/view/id=<id>',
    'article-<id>.html' => 'index/index/view/id=<id>',
    'forum.html' => 'index/forum/index',
    'forum-b<bid>.html' => 'index/forum/index/bid=<bid>',
    'group-<gid>.html' => 'index/forum/group/gid=<gid>',
    'topic-<id>.html' => 'index/forum/view/id=<id>',
    'bbs.html' => 'index/forum/index',
    'bbs-b<bid>.html' => 'index/forum/index/bid=<bid>',
    'bbs-group-<gid>.html' => 'index/forum/group/gid=<gid>',
    'bbs-topic-<id>.html' => 'index/forum/view/id=<id>',
    'brand.html' => 'index/brand/index',
    'brand-view-<id>.html' => 'index/brand/view/id=<id>',
    'cheaps.html' => 'index/cheaps/index',
    'cheaps-detail.html' => 'index/cheaps/detail',
    'cheaps-<id>.html' => 'index/cheaps/index/id=<id>',
    'rank.html' => 'index/rank/index',
    'hot.html' => 'index/hot/index',
    'detail-<id>.html' => 'index/view/detail/id=<id>',
    'vip-<id>.html' => 'index/view/vip/id=<id>',
    'product-<type>-<id>.html' => 'index/view/view/type=<type>/id=<id>',
    'so.html' => 'index/search/index',
    'so-<key>.html' => 'index/search/index/content=<key>',
    'page-<alias>.html' => 'index/page/index/alias=<alias>',
    'page-<id>.html' => 'index/page/index/id=<id>',
    'app.html' => 'index/page/app',
    'side.html' => 'index/page/side',
    'login.html' => 'index/login/index',
    'register.html' => 'index/login/register',
    'ucenter.html' => 'index/ucenter/index',
    'ucenter-comment.html' => 'index/ucenter/myComment',
    'ucenter-forum.html' => 'index/ucenter/myForum',
    'ucenter-profile.html' => 'index/ucenter/profile',
    'ucenter-pwd.html' => 'index/ucenter/pwd',
    'ai.html' => 'index/aiassistant/chat',
    'm.html' => 'index/m/index',
    'm-rank.html' => 'index/m/rank',
    'm-cheaps.html' => 'index/m/cheaps',
    'm-search-<key>.html' => 'index/m/search/key=<key>',
    'buy-<platform>.html' => 'index/redirect/jump/platform=<platform>',
    'buy.html' => 'index/redirect/jump',
    // 分享/邀请落地页：动态与伪静态双支持
    //   动态：index.php?r=index/invite/index&inviter=CODE
    //   伪静态：/invite.html?inviter=CODE  /  invite-<inviter>.html  /  /invite/CODE
    //   动态：index.php?r=index/share/index&type=tb&id=123&inviter=CODE
    //   伪静态：/share.html?type=tb&id=123&inviter=CODE  /  share-<type>-<id>.html?inviter=CODE
    'invite.html' => 'index/invite/index',
    'invite-<inviter>.html' => 'index/invite/index/inviter=<inviter>',
    'invite/<inviter>' => 'index/invite/index/inviter=<inviter>',
    'invite' => 'index/invite/index',
    'share.html' => 'index/share/index',
    'share-<type>-<id>.html' => 'index/share/index/type=<type>/id=<id>',
    'share/<type>/<id>' => 'index/share/index/type=<type>/id=<id>',
    'share' => 'index/share/index',
  ),
);
