// This application needs a database connection then we have to simply include
// the framework/database.php script
-require($cfg->getConfigEntry('base_path') . 'framework/database.php');
+require($cfg->getConfigEntry('framework_base_path') . 'database.php');
// Register core tests
ClassLoader::registerTestsPath('framework/main/tests');