Re: Smarty and FreeBSD 4.2-RELEASE __FILE__ problem?

From: Date: Mon, 28 May 2001 18:52:29 +0000
Subject: Re: Smarty and FreeBSD 4.2-RELEASE __FILE__ problem?
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-835@lists.php.net to get a copy of this message
http://www.php.net/bugs.php?id=10644 At 14:17 28.5. 2001 -0400, Ray A. Akey wrote:
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. --- You are currently subscribed to smarty as: cynic@mail.cz To unsubscribe send a blank email to $subst('Email.Unsub') Visit Smarty's homepage at http://www.phpinsider.com/php/code/Smarty/
cynic@mail.cz ------------- And the eyes of them both were opened and they saw that their files were world readable and writable, so they chmoded 600 their files.
    - Book of Installation chapt 3 sec 7 


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