Set correct path for /.version if TARGET_PREFIX is in use.

Origin commit data
------------------
Branch: ni/coolstream
Commit: 312a80bee9
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2016-09-25 (Sun, 25 Sep 2016)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Michael Liebmann
2016-09-25 16:42:33 +02:00
parent 69092e211c
commit ee6fe6049f
5 changed files with 7 additions and 7 deletions

View File

@@ -725,7 +725,7 @@ void CNetworkSetup::testNetworkSettings()
//get www-domain testsite from /.version
CConfigFile config('\t');
config.loadConfig("/.version");
config.loadConfig(TARGET_PREFIX "/.version");
testsite = config.getString("homepage",defaultsite);
testsite.replace( 0, testsite.find("www",0), "" );