fs/Path: move configuration code to Config.cxx

This commit is contained in:
Max Kellermann
2013-10-17 22:13:54 +02:00
parent fa60b9ae94
commit 080ee87e07
11 changed files with 284 additions and 140 deletions

View File

@@ -49,6 +49,7 @@
#include "event/Loop.hxx"
#include "IOThread.hxx"
#include "fs/Path.hxx"
#include "fs/Config.hxx"
#include "PlaylistRegistry.hxx"
#include "ZeroconfGlue.hxx"
#include "DecoderList.hxx"
@@ -412,7 +413,7 @@ int mpd_main(int argc, char *argv[])
GlobalEvents::Register(GlobalEvents::SHUTDOWN, shutdown_event_emitted);
#endif
Path::GlobalInit();
ConfigureFS();
if (!glue_mapper_init(error)) {
LogError(error);