Question about how PHP resolve current directory (".") |
[eluser]danmontgomery[/eluser]
parent::__construct(); doesn't exist, you need to call parent::Controller(); realpath() returns the working directory, which is normally the location of index.php. If that's not the case, the working directory is being changed at some point: http://php.net/manual/en/function.chdir.php |
Messages In This Thread |
Question about how PHP resolve current directory (".") - by El Forum - 04-16-2010, 10:48 AM
Question about how PHP resolve current directory (".") - by El Forum - 04-16-2010, 12:14 PM
Question about how PHP resolve current directory (".") - by El Forum - 04-16-2010, 02:14 PM
|