proper smarty call syntax??
| From: | Roger | Date: | Mon, 16 Dec 2002 16:02:41 +0000 |
| Subject: | proper smarty call syntax?? | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-6829@lists.php.net to get a copy of this message | ||
Was just wondering if this is the proper syntax for calling smarty when I dont have access to the PHP.ini file?
define('SMARTY_DIR','/usr/local/plesk/apache/vhosts/myservername.com/httpdocs/smarty/');
require(SMARTY_DIR.'Smarty.class.php');
all of my web files are in the httpdocs directory.
Thanks,
Roger