From bfa36913b9c55d812f937532cf050ed3cc5d2d62 Mon Sep 17 00:00:00 2001 From: thinkphp Date: Fri, 5 Aug 2016 21:10:04 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E8=BF=9B=E5=8D=95=E5=85=83=E6=B5=8B?= =?UTF-8?q?=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/thinkphp/library/think/templateTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/thinkphp/library/think/templateTest.php b/tests/thinkphp/library/think/templateTest.php index af0341d5..09e35dbe 100644 --- a/tests/thinkphp/library/think/templateTest.php +++ b/tests/thinkphp/library/think/templateTest.php @@ -320,7 +320,7 @@ EOF; $template->assign('name', 'name'); $config = [ 'strip_space' => true, - 'view_path' => dirname(__FILE__) . '/', + 'view_path' => dirname(__FILE__) . DS, 'cache_id' => '__CACHE_ID__', 'display_cache' => true, ]; @@ -331,7 +331,7 @@ EOF; public function testDisplay() { - $config['view_path'] = dirname(__FILE__) . '/'; + $config['view_path'] = dirname(__FILE__) . DS; $config['view_suffix'] = '.html'; $config['layout_on'] = true; $config['layout_name'] = 'layout';