From 2eba0b4c456c804dde1dcdb3d870a3c5173f93bd Mon Sep 17 00:00:00 2001 From: Steve Gilvarry Date: Mon, 26 Sep 2016 21:22:58 +1000 Subject: [PATCH] Swap event and web path around the right way --- src/zm_storage.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/zm_storage.cpp b/src/zm_storage.cpp index 38aeaa704..7de42411c 100644 --- a/src/zm_storage.cpp +++ b/src/zm_storage.cpp @@ -64,7 +64,7 @@ Storage::Storage( unsigned int p_id ) { if ( ! id ) { if ( config.dir_events[0] != '/' ) { // not using an absolute path. Make it one by appending ZM_PATH_WEB - snprintf( path, sizeof(path), "%s/%s", config.dir_events, staticConfig.PATH_WEB.c_str() ); + snprintf(path, sizeof (path), "%s/%s", staticConfig.PATH_WEB.c_str(), config.dir_events); } else { strncpy(path, config.dir_events, sizeof(path) ); }