Welcome Guest, Not a member yet? Register   Sign In
load custom config from root?
#5

[eluser]rossmurphy[/eluser]
So i tried the include method. I have this in my config file.

Code:
include "./config/config_common.php";

It points to a config dir in the root directory.

In that file i have..

Code:
$config['site_api_url']    = 'bla';
$config['parvor_key'] = 'bla';
$config['site_id'] = 'bla';

But for some reason, the values are no being loaded into the config array.


Messages In This Thread
load custom config from root? - by El Forum - 07-08-2009, 11:56 AM
load custom config from root? - by El Forum - 07-08-2009, 12:45 PM
load custom config from root? - by El Forum - 07-08-2009, 01:01 PM
load custom config from root? - by El Forum - 07-08-2009, 01:07 PM
load custom config from root? - by El Forum - 07-08-2009, 03:18 PM
load custom config from root? - by El Forum - 07-08-2009, 03:31 PM



Theme © iAndrew 2016 - Forum software by © MyBB