Smarty ディレクトリの問題
require("./Smarty/libs/Smarty.class.php");
$smarty=new Smarty;
$smarty->left_delimiter=" {{";
$smarty->right_delimiter="}}";
$smarty->assign("main","./templates/a.html");
$smarty- >display("./templates/xx.html");
?>
$smarty->assign("main","./templates/a.html") がここで機能しないのはなぜですか? 、
$smarty->assign("main","templates/a.html");? と $smarty->assign("main","a.html");?ディレクトリ 構造は
xx.html
{{include file=$main}}
23
bb
?