Re: [SMARTY] unexpected T_EXTENDS
| From: | Ralph Meijer | Date: | Fri, 19 Jul 2002 09:40:28 +0000 |
| Subject: | Re: [SMARTY] unexpected T_EXTENDS | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-5365@lists.php.net to get a copy of this message | ||
On Fri, Jul 19, 2002 at 10:15:26AM +0100, Clive Richardson wrote:
> Hello,
Hi!
> ... snip ...
>
> Here is my setup.php:-
>
> <?
> // load Smarty library files
> define(SMARTY_DIR,'c:/php/includes/Smarty/');
> require(SMARTY_DIR.'Smarty.class.php');
>
> // a good place to load application library files,
> example:
> // require('guestbook/guestbook.lib.php');
>
> Smarty_GuestBook extends Smarty {
^
|
+----- You need to put 'class' here.
Greetz,
Ralphm