nevermind ...
simple error, just a minor oversight.
sorry for the stupidity. I hope I didn't waste anyone's time.
Ron Hatt
ron@h...
www.hattworks.com
-----Original Message-----
From: Ron Hatt [mailto:hattfam@h...]
Sent: Monday, August 06, 2001 9:41 PM
To: professional php
Subject: [pro_php] Problem instantiating
This is very strange.
I am developing a system using FastTemplate. I have run this script before
and no problems. Now, I cannot include this line (anywhere inside my
class).
define(TEMPLATE_PATH, 'yadda/yadda/yadda/templates/'); // outside of class
// a class function
function displayAdd(){
$ft = new FastTemplate(TEMPLATE_PATH); // this line produces parse error!
CRAZY!!
$ft->define( array( main => "main.tpl", ... ));
...
}
PHP 4.02 : Apache : FreeBSD
Is there anything I might not be considering?
(I think I may have to include the entire class)
Ron Hatt
ron@h...
www.hattworks.com