服务器上__ROOT__问题

浏览:825 发布日期:2014/02/16 分类:求助交流 关键字: __ROOT__ 模版替换
配置项<?php
return array(
    'TMPL_PARSE_STRING' => array(
        '__PUBLIC__'         => __ROOT__. '/' . APP_PATH.MODULE_NAME.'/common',
        )
    );
/*
 本地输出 /think/./Application/Index/common/
 <link rel="stylesheet" href="/think/./Application/Index/common/css/Index.css" />
*/
/*
 服务器输出  /./Application/Index/
 <link rel="stylesheet" href="/./Application/Index/common/css/Index.css" />
 在服务器上  __ROOT__不被解析
*/
我是直接绑定域名 但首页好使跳到子页面就不好使 同样的路径
理解力较差求详细
最佳答案
评论( 相关
后面还有条评论,点击查看>>