-$INC = sprintf("%sinc/database/lib-%s%s", PATH, _DB_TYPE, FrameworkConfiguration::getInstance()->readConfig("php_extension"));
+$INC = sprintf("%sinc/database/lib-%s%s",
+ $cfg->readConfig('base_path'),
+ $cfg->readConfig('db_type'),
+ $cfg->readConfig('php_extension')
+);