Use the proper path to the engine backends

This commit is contained in:
Pierre Pronchery 2012-11-05 22:00:43 +01:00
parent 6c220ec715
commit 37a7de0001

View File

@ -123,7 +123,7 @@ static PDO * _pdo_init(Config * config, char const * section)
return NULL;
}
pdo->database = NULL;
if((pdo->plugin = plugin_new(LIBDIR, PACKAGE, "database", backend))
if((pdo->plugin = plugin_new(LIBDIR, "Database", "engine", backend))
== NULL
|| (pdo->dplugin = plugin_lookup(pdo->plugin,
"database")) == NULL