On 6/21/10 9:35 AM, Vincenzo D'Amore wrote:
> Thanks Rasmus,
> 
> we are using wordpress. Looking at code:
> 
> find . -type f -exec grep realpath {} \;
> 
> I see a lot of:
> 
> if ( function_exists('realpath') )
> $path = realpath($path);
> if ( function_exists('realpath') )
> $path = realpath($path);
> if ( function_exists('realpath') )
> $path = realpath($path);
> if ( realpath($path) == $path )
> if ( !is_null($dest_path) and $_dest_path = realpath($dest_path) )
> 
> What do you think if I disable such function? 

It is more likely a cache problem.  Fix your realpath_cache settings
like I suggested.

-Rasmus

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to