Definition of common constants such as ThinkPHPPublic cmstplIndex & gt; APP_TMPL_PATH, project template Directory & gt;, current website address index. php & gt; index. php: index of the current project address. definitions of common constants such as php & gt; ThinkPHP/Public
'/Cms/tpl/Index/' => APP_TMPL_PATH, // project template directory
''=>, // Current website address
'/Index. php' =>/index. php, // Current project address
'/Index. php' => defined ('group _ name ')? /Index. php:/index. php,
'/Index. php/Article/detail' =>/index. php/Article/detail, // Current operation address
'/Php-weizijiaocheng-207877.html' =>/php-weizijiaocheng-207877.html, // Current page address
'/Index. php/article' =>/index. php/Article,
'/Cms/tpl/Index/public' => APP_TMPL_PATH. 'public', // project Public Template directory
'/Public' =>.'/public', // Public Site Directory
THINKPHP-> Lib-> Behavior-> ContentReplaceBehavior. class. php
Constant definition