Welcome Guest, Not a member yet? Register   Sign In
Question about how PHP resolve current directory (".")
#2

[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



Theme © iAndrew 2016 - Forum software by © MyBB