Which directives (define / $conf array) from the config.inc.php file to use
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);
I think that the code needs some cleaning.