Community
Participate
Working Groups
# Make it easy to override database and other settings (don't check app-config.php in to CVS!)
if($this->devmode) {
if(file_exists(getcwd() . '/app-config.php')) {
include(getcwd() . '/app-config.php');
include_once(getcwd() . '/app-config.php');
# We call a function inside app-config.php and pass it a reference to ourselves because
# this class is still in the constructor and might not be available externally by name.
# File just contains a function called app_config() which is called. Nothing more is needed.
app_config($this);
}
else if(file_exists($_SERVER['DOCUMENT_ROOT'] . '/eclipse.org-common/system/app-config.php'))
{
include_once($_SERVER['DOCUMENT_ROOT'] . '/eclipse.org-common/system/app-config.php');
# Initialize backtrace storage