Re: Smarty syntax for require?
- From: "Álvaro G. Vicario" <alvaroNOSPAMTHANKS@xxxxxxxxxxxxxx>
- Date: Tue, 30 Dec 2008 09:20:38 +0100
laredotornado@xxxxxxxxxxx escribió:
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");
Where did you read about require? I can't find it in the Smarty manual:
http://www.smarty.net/manual/en/
(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?
You assume it's related to PHP in some way? Is that all you know about it? Oh well, good luck xD
BTW, you can find the official forums at http://www.phpinsider.com/smarty-forum/
--
-- http://alvaro.es - Álvaro G. Vicario - Burgos, Spain
-- Mi sitio sobre programación web: http://bits.demogracia.com
-- Mi web de humor al baño María: http://www.demogracia.com
--
.
- References:
- Smarty syntax for require?
- From: laredotornado@xxxxxxxxxxx
- Smarty syntax for require?
- Prev by Date: Re: constants in heredoc
- Next by Date: Re: identify $handles in $resource ?
- Previous by thread: Re: Smarty syntax for require?
- Next by thread: ldap_bind issues
- Index(es):
Relevant Pages
|