From 17d38fbe56df40d8cba714f0b86f9bf00a0b0842 Mon Sep 17 00:00:00 2001 From: vanhofen Date: Fri, 15 May 2015 03:40:45 +0200 Subject: [PATCH] use CONFIGDIR instead of hardcoded path Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/ab8353be04ae9cb7fd3f2b7ec4bea2535c0b1efe Author: vanhofen Date: 2015-05-15 (Fri, 15 May 2015) Origin message was: ------------------ - use CONFIGDIR instead of hardcoded path ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/neutrino.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/neutrino.cpp b/src/neutrino.cpp index 24d67ee38..22a51ed7d 100644 --- a/src/neutrino.cpp +++ b/src/neutrino.cpp @@ -576,7 +576,7 @@ int CNeutrinoApp::loadSetup(const char * fname) g_settings.network_nfs_recordingdir = configfile.getString( "network_nfs_recordingdir", "/media/sda1/movies" ); g_settings.timeshiftdir = configfile.getString( "timeshiftdir", "" ); g_settings.downloadcache_dir = configfile.getString( "downloadcache_dir", g_settings.network_nfs_recordingdir.c_str()); - g_settings.last_webtv_dir = configfile.getString( "last_webtv_dir", "/var/tuxbox/config"); + g_settings.last_webtv_dir = configfile.getString( "last_webtv_dir", CONFIGDIR); g_settings.temp_timeshift = configfile.getInt32( "temp_timeshift", 0 ); g_settings.auto_timeshift = configfile.getInt32( "auto_timeshift", 0 );