diff --git a/application/config.php b/application/config.php index cd4e013..1a836f5 100644 --- a/application/config.php +++ b/application/config.php @@ -148,7 +148,7 @@ return [ 'view_replace_str' => [ '__PUBLIC__' => 'public', '__ROOT__' => '/', - '__RELATIVE_PATH__' => RELATIVE_PATH, + //'__RELATIVE_PATH__' => RELATIVE_PATH, ], // 默认跳转页面对应的模板文件 diff --git a/public/index.php b/public/index.php index 6712e5d..e764fd0 100644 --- a/public/index.php +++ b/public/index.php @@ -17,7 +17,7 @@ define('APP_PATH', __DIR__ . '/../application/'); //html localhost/think/public/favicon.ico //php d:/www/think/public/extend.php // 相对路径时两者通用,但是 php 许多函数引入文件必须使用全路径 eg;(file_get_contents()) -define('RELATIVE_PATH', dirname($_SERVER["SCRIPT_NAME"])); +//define('RELATIVE_PATH', dirname($_SERVER["SCRIPT_NAME"])); // 加载框架引导文件 require __DIR__ . '/../thinkphp/start.php'; diff --git a/themes/blue/index_index.html b/themes/blue/index_index.html index 85a74b8..376a40c 100644 --- a/themes/blue/index_index.html +++ b/themes/blue/index_index.html @@ -2,11 +2,11 @@
- +