Which directives (define / $conf array) from the config.inc.php file to use
Hi,
I'm writing some patches but I don't know, which directives (define ~ constant / item of $conf array) from the config.inc.php file to use in modules, plugins etc. Which one is preffered?
For example for server root exist three directives:
1. define('ISPC_ROOT_PATH', realpath(dirname(__FILE__).'/../'));
2. $conf['rootpath'] = substr(dirname(__FILE__),0,-4);
3. define('SERVER_ROOT',$conf['rootpath']);
I think that the code needs some cleaning.
|
Recent comments
6 hours 29 min ago
7 hours 29 min ago
11 hours 16 min ago
12 hours 30 min ago
16 hours 6 min ago
23 hours 21 min ago
1 day 8 hours ago
1 day 9 hours ago
2 days 47 min ago
2 days 3 hours ago