smarty directory

From: Date: Tue, 18 Jun 2002 00:29:22 +0000
Subject: smarty directory
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-4910@lists.php.net to get a copy of this message
I'm trying to set the smarty directory, but don't really want to break anything. these are lines 46 - 48 of smarty.class.php. if (!defined('SMARTY_DIR')) { define('SMARTY_DIR', dirname(__FILE__) . '/'); } I'm not familiar with the "dirname(__FILE__)" construction. is it safe to change it so that it looks like this: if (!defined('SMARTY_DIR')) { define('SMARTY_DIR', c:/smarty'); }

« previous php.smarty.general (#4910) next »