1.1 --- a/src/org/sonews/Main.java Mon Jun 06 20:12:21 2011 +0200
1.2 +++ b/src/org/sonews/Main.java Sat Sep 10 20:20:19 2011 +0200
1.3 @@ -102,8 +102,9 @@
1.4 // Do NOT USE BackendConfig or Log classes before this point because they require
1.5 // a working JDBCDatabase connection.
1.6 try {
1.7 - StorageProvider sprov =
1.8 - StorageManager.loadProvider("org.sonews.storage.impl.JDBCDatabaseProvider");
1.9 + String provName = Config.inst().get(Config.LEVEL_FILE,
1.10 + Config.STORAGE_PROVIDER, "org.sonews.storage.impl.JDBCDatabaseProvider");
1.11 + StorageProvider sprov = StorageManager.loadProvider(provName);
1.12 StorageManager.enableProvider(sprov);
1.13
1.14 // Make sure some elementary groups are existing