mirror of
https://github.com/owntone/owntone-server.git
synced 2025-03-20 04:24:20 -04:00
Fix cwd problem causing logfile page not to load.
This commit is contained in:
parent
c6075137bf
commit
18f72b5135
@ -32,7 +32,7 @@ Application::Application()
|
|||||||
: m_dlg(NULL), m_server_events(&m_icon)
|
: m_dlg(NULL), m_server_events(&m_icon)
|
||||||
{
|
{
|
||||||
CDosPath path = CDosPath::AppPath();
|
CDosPath path = CDosPath::AppPath();
|
||||||
SetCurrentDirectory(path.GetPath());
|
SetCurrentDirectory(path.GetPathOnly());
|
||||||
CDosPath filename(_T("mt-daapd.conf"));
|
CDosPath filename(_T("mt-daapd.conf"));
|
||||||
filename |= path;
|
filename |= path;
|
||||||
m_config_path = filename.GetPath();
|
m_config_path = filename.GetPath();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user