Swap event and web path around the right way
This commit is contained in:
parent
8f6007bb49
commit
2eba0b4c45
|
@ -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) );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue