Hallo,
Today I had a problem with a fresh installation of ExpressionEngine. Recently I use a custom config file where I set some standard configs: Config.php. In This file is I`m using the constant (__FILE__).
When I was done with the default installation ‘Agile template’ and had activate the custom config.php I got a problem when I go to /about/contact. EE was not showing the /about/contact page but instead the index page.
After some research I noticed that a report was made for (__FILE__):
realpath() is now fully platform-independent. Consequence of this is that invalid relative paths such as (__FILE__) . “/../x” do not work anymore..
Now I found the solution, at least it worked for me as. http://www.php.net/manual/en/language.constants.predefined.php#102733
Does anyone here also have a problem with this. And is this already a known issue? Because I think (__FILE__) is also used in EE.
Cheers.