Bug in "include file" ?

From: Date: Sat, 17 Feb 2001 09:49:26 +0000
Subject: Bug in "include file" ?
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-129@lists.php.net to get a copy of this message
Hi everbody, In my php-file, I have this line (among many more) $smarty->assign("IncludeFile", "index.tpl"); And in my main template (main.tpl) I have this line: {include file=$IncludeFile} and $IncludeFile then should be replaced at runtime w/ "index.tpl". But when it's compiled, smarty generates this line instead: <?php include "./templ_c/.php"; ?> and of course, *that* doesn't work. Is it a bug or have I only made a mistake? tia, Victor

« previous php.smarty.general (#129) next »