On 2012-02-16 7:56 AM, David Goodwin <da...@co...> wrote:
> Hi,
>
> dirname(__FILE__) works out the current directory of the file which
> is being executed.
>
> If config.inc.php is already in /etc/postfixadmin (i.e. __FILE__ is
> /etc/postfixadmin/config.inc.php) then dirname(__FILE__) will be set
> to /etc/postfixadmin THEREFORE, it will do as you want - namely load
> /etc/postfixadmin/config.local.php
I have not changed these locations, so they are set to whatever the
default is.
Currently, config.inc.php is in my working directory (I thought that
went for everyone?)...
ie:
/var/www/pfa.example.com/htdocs/db_version/config.inc.php
|