Set Default Scheme

This commit is contained in:
Isaac Connor 2018-01-23 09:07:40 -05:00
parent 8fe0e1bdc0
commit 6bc83ca6a2
1 changed files with 4 additions and 2 deletions

View File

@ -36,8 +36,8 @@ Storage::Storage() {
} else {
strncpy(path, staticConfig.DIR_EVENTS.c_str(), sizeof(path)-1 );
}
scheme = DEEP;
scheme_str = "Deep";
scheme = MEDIUM;
scheme_str = "Medium";
}
Storage::Storage( MYSQL_ROW &dbrow ) {
@ -93,6 +93,8 @@ Storage::Storage( unsigned int p_id ) {
}
Debug(1,"No id passed to Storage constructor. Using default path %s instead", path );
strcpy(name, "Default");
scheme = MEDIUM;
scheme_str = "Medium";
}
}