Smarty error: unable to read resource
Warning: Smarty error: unable to read resource: "'header.tpl'" in C:\Program Files\EasyPHP 3.0\www\classes\lib\external\Smarty-2.6.19\libs\Smarty.class.php on line 1092
Warning: Smarty error: unable to read resource: "'topic_list.tpl'" in C:\Program Files\EasyPHP 3.0\www\classes\lib\external\Smarty-2.6.19\libs\Smarty.class.php on line 1092
Warning: Smarty error: unable to read resource: "'footer.tpl'" in C:\Program Files\EasyPHP 3.0\www\classes\lib\external\Smarty-2.6.19\libs\Smarty.class.php on line 1092
— PHP version: 5.2.8
Запускаю — <?php
$smarty = new Smarty();
$smarty->template_dir = «templates/skin/new»;
$myfile = $smarty->template_dir. "/header.tpl";
readfile($myfile);
?>
Получаю —
{if $aHtmlRssAlternate} {/if} {literal} {/literal}
{include file=header_top.tpl} {include file=header_nav.tpl}
{if !$noShowSystemMessage} {include file='system_message.tpl'} {/if}
— Куда копать, господа?
Warning: Smarty error: unable to read resource: "'topic_list.tpl'" in C:\Program Files\EasyPHP 3.0\www\classes\lib\external\Smarty-2.6.19\libs\Smarty.class.php on line 1092
Warning: Smarty error: unable to read resource: "'footer.tpl'" in C:\Program Files\EasyPHP 3.0\www\classes\lib\external\Smarty-2.6.19\libs\Smarty.class.php on line 1092
— PHP version: 5.2.8
Запускаю — <?php
$smarty = new Smarty();
$smarty->template_dir = «templates/skin/new»;
$myfile = $smarty->template_dir. "/header.tpl";
readfile($myfile);
?>
Получаю —
{if $aHtmlRssAlternate} {/if} {literal} {/literal}
{include file=header_top.tpl} {include file=header_nav.tpl}
{if !$noShowSystemMessage} {include file='system_message.tpl'} {/if}
— Куда копать, господа?