Re: How can I stop PHP from resolving symlinks?
| From: | Chris | Date: | Thu, 23 Feb 2006 00:37:07 +0000 |
| Subject: | Re: How can I stop PHP from resolving symlinks? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-230917@lists.php.net to get a copy of this message | ||
Roy Souther wrote:
How can I make PHP use the symlink and stop trying to resolve the original files?Can you try: $mydir = dirname(__FILE__); include($mydir . '/../config.php'); ? or $mydir = dirname(__FILE__); include(dirname($mydir) . '/config.php'); -- Postgresql & php tutorials http://www.designmagick.com/