Continued:
[core.git] / application / tests / init.php
index b877adab00baca807c763cded4126278e8bbda4d..00cf2f4d2366174b7cefbaada2aa282de33edb1d 100644 (file)
@@ -30,3 +30,7 @@ ClassLoader::scanApplicationClasses();
 
 // Get config instance
 $cfg = FrameworkConfiguration::getSelfInstance();
+
+// This application needs a database connection then we have to simply include
+// the inc/database.php script
+require($cfg->getConfigEntry('base_path') . 'inc/database.php');