// Import framework stuff
use CoreFramework\Configuration\FrameworkConfiguration;
use CoreFramework\Connection\Database\DatabaseConnection;
+use CoreFramework\EntryPoint\ApplicationEntryPoint;
use CoreFramework\Object\BaseFrameworkSystem;
use CoreFramework\Middleware\Debug\DebugMiddleware;
// Generate FQFN for the database layer
$fqfn = sprintf(
- '%sframework/database/lib-%s.php',
- FrameworkConfiguration::getSelfInstance()->getConfigEntry('base_path'),
- FrameworkConfiguration::getSelfInstance()->getConfigEntry('db_type')
+ '%sdatabase/lib-%s.php',
+ FrameworkConfiguration::getSelfInstance()->getConfigEntry('framework_base_path'),
+ FrameworkConfiguration::getSelfInstance()->getConfigEntry('database_type')
);
// Load the database layer include
} else {
// Layer is missing!
ApplicationEntryPoint::app_exit(sprintf('[Main:] Database layer is missing! (%s) -> R.I.P.',
- FrameworkConfiguration::getSelfInstance()->getConfigEntry('db_type')
+ FrameworkConfiguration::getSelfInstance()->getConfigEntry('database_type')
));
}