Get path for datasets from config like other services

This commit is contained in:
kaetemi 2014-02-14 02:37:41 +01:00
parent f4a4a41fbf
commit ca2d7941f8

View file

@ -145,7 +145,7 @@ void CRangeMirrorManager::init()
// Load datasets into temporary map to get the names
TSDataSetSheets sDataSetSheets;
loadForm( "dataset", "data_shard/datasets.packed_sheets", sDataSetSheets );
loadForm( "dataset", IService::getInstance()->WriteFilesDirectory.toString()+"datasets.packed_sheets", sDataSetSheets );
TSDataSetSheets::iterator ism;
for ( ism=sDataSetSheets.begin(); ism!=sDataSetSheets.end(); ++ism )
{