Smarty and FreeBSD 4.2-RELEASE __FILE__ problem?

From: Date: Mon, 28 May 2001 18:17:16 +0000
Subject: Smarty and FreeBSD 4.2-RELEASE __FILE__ problem?
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-834@lists.php.net to get a copy of this message
Does anyone else have a problem with Smarty not seeing the correct path to the Smarty classes? I have the includes in a directory called /www/phpinc Smarty is including files using dirname(__FILE__) . "/filename.php" However, Smarty isn't finding the files it needs. I have found that with FreeBSD 4.2-RELEASE that the contents of __FILE__ are being passed as wwwphpincMyFile.ext instead of /www/phpinc/MyFile.ext. Does anyone know how to fix this or if an updated PHP or FreeBSD release fixes it? TIA.

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