unable to read template
| From: | Elgi | Date: | Fri, 21 Mar 2003 16:17:54 +0000 |
| Subject: | unable to read template | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-8814@lists.php.net to get a copy of this message | ||
Bonjour smarty-general,
I have a dir "fr" with index.php
and in "templates/fr" => index.tpl
fr/index.php :
define('SMARTY_DIR','smarty/');
@require('../'.SMARTY_DIR.'Smarty.class.php');
$smarty = new Smarty;
$smarty->display('fr/index.tpl');
Smarty say "unable to read template", why ?
--
Cordialement,
Elgi