Smarty syntax for require?
- From: "laredotornado@xxxxxxxxxxx" <laredotornado@xxxxxxxxxxx>
- Date: Mon, 29 Dec 2008 10:36:57 -0800 (PST)
Hi,
I'm using PHP 5. I'm trying to modify a TPL file by adding this
line ...
{ require("../util_fns.php"); }
and I'm getting this error
Fatal error: Smarty error: [in easyorder/header.tpl line 1]: syntax
error: unrecognized tag: require("../util_fns.php");
(Smarty_Compiler.class.php, line 439) in /usr/local/apache2/htdocs/
super_admin_rs/whmcs/libs/Smarty.class.php on line 1095
So I'm new to Smarty but assume its related to PHP in some way. What
is the proper syntax for require/include?
Thanks, - Dave
.
- Follow-Ups:
- Re: Smarty syntax for require?
- From: "Álvaro G. Vicario"
- Re: Smarty syntax for require?
- From: Jerry Stuckle
- Re: Smarty syntax for require?
- Prev by Date: Re: Query String
- Next by Date: Re: Query String
- Previous by thread: constants in heredoc
- Next by thread: Re: Smarty syntax for require?
- Index(es):
Relevant Pages
|