What steps will reproduce the problem?
1. file structure
templates\global.html
templates\Test\test.html
templates\Test\hkuclion.html
2.
global.html
---------------
{block name=global}{/block}
test.html
---------------
{extends file="../global.html"}
{block name=global}
test
{include file='./hkuclion.html'}
{/block}
hkuclion.html
---------------
hkuclion
3. show Test/test.html
What is the expected output? What do you see instead?
The first time I visit the page it runs into an exception
---------------------------------
Unable to load template file './hkuclion.html' in
'E:\xampp\htdocs\newbase\templates\Test\test.html'
The second time I visit it normally outputs "test hkuclion" and then on.
And when I delete the compiled files it will run into exception again
What version of the product are you using? On what operating system?
using Smarty 3.1.16, on Windows 7, php 5.5.6
Please provide any additional information below.
Original issue reported on code.google.com by hkucl...@gmail.com on 7 Mar 2014 at 8:24
Original issue reported on code.google.com by
hkucl...@gmail.com
on 7 Mar 2014 at 8:24