This commit is contained in:
stephb9959
2021-08-17 19:17:42 -07:00
parent a437acbc09
commit d6f651412c
12 changed files with 313 additions and 110 deletions

View File

@@ -12,7 +12,7 @@
#include "Daemon.h"
#include "Utils.h"
namespace uCentral {
namespace OpenWifi {
class Storage *Storage::instance_ = nullptr;
@@ -26,7 +26,7 @@ namespace uCentral {
Logger_.setLevel(Poco::Message::PRIO_NOTICE);
Logger_.notice("Starting.");
std::string DBType = Daemon()->ConfigGetString("storage.type");
std::string DBType = uCentral::Daemon()->ConfigGetString("storage.type");
if (DBType == "sqlite") {
DBType_ = ORM::DBType::sqlite;