summaryrefslogtreecommitdiffhomepage
path: root/whiteboard.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'whiteboard.cpp')
-rw-r--r--whiteboard.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/whiteboard.cpp b/whiteboard.cpp
index dd5f1a8..45434df 100644
--- a/whiteboard.cpp
+++ b/whiteboard.cpp
@@ -4,6 +4,7 @@
#include <string.h>
#include <dirent.h>
#include <sys/types.h>
+
#include <fcgiapp.h>
#include <iostream>
@@ -23,6 +24,7 @@
#include "config.h"
#include "file.h"
#include "qrcode.h"
+#include "storage.h"
namespace pt = boost::property_tree;
using namespace std::string_literals;
@@ -98,6 +100,8 @@ int main(void)
Config config;
data_path = config.getDataPath();
+ Storage storage(config);
+
Magick::InitializeMagick(NULL); // for qrcode.cpp
int result = FCGX_Init();