1
0
mirror of https://github.com/anope/anope.git synced 2026-07-01 01:06:38 +02:00

Split up db/conf/lib/locale install directories, and allow alternate ones to be specified at runtime

This commit is contained in:
Adam
2012-05-06 21:43:50 -04:00
parent eb0e07d564
commit 675b113c3e
22 changed files with 101 additions and 48 deletions
+1 -1
View File
@@ -76,7 +76,7 @@ class DBFlatFile : public Module
void OnReload() anope_override
{
ConfigReader config;
DatabaseFile = config.ReadValue("db_flatfile", "database", "anope.db", 0);
DatabaseFile = db_dir + "/" + config.ReadValue("db_flatfile", "database", "anope.db", 0);
}
EventReturn OnLoadDatabase() anope_override