mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 16:31:05 +02:00
Set correct path for /.version if TARGET_PREFIX is in use.
Origin commit data
------------------
Commit: 312a80bee9
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2016-09-25 (Sun, 25 Sep 2016)
This commit is contained in:
@@ -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), "" );
|
||||
|
||||
|
Reference in New Issue
Block a user