- try to fix path to /.version file

Conflicts:
	src/gui/imageinfo.cpp
	src/gui/network_setup.cpp
	src/nhttpd/tuxboxapi/controlapi.cpp

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
svenhoefer
2020-12-06 13:32:20 +01:00
committed by Thilo Graf
parent ea64294d6a
commit cf67ca4cb6
6 changed files with 10 additions and 10 deletions

View File

@@ -826,7 +826,7 @@ void CControlAPI::InfoCGI(CyhookHandler *hh)
if (hh->ParamList["1"] == "streaminfo") // print streaminfo
SendStreamInfo(hh);
else if (hh->ParamList["1"] == "version") // send version file
hh->SendFile("/.version");
hh->SendFile(IMAGE_VERSION_FILE);
else if (hh->ParamList["1"] == "httpdversion") // print httpd version typ (just for compatibility)
hh->Write("3");
else if (hh->ParamList["1"] == "nhttpd_version")// print nhttpd version
@@ -2103,7 +2103,7 @@ void CControlAPI::EpgCGI(CyhookHandler *hh)
//-----------------------------------------------------------------------------
void CControlAPI::VersionCGI(CyhookHandler *hh)
{
hh->SendFile("/.version");
hh->SendFile(IMAGE_VERSION_FILE);
}
//-----------------------------------------------------------------------------
void CControlAPI::ReloadNeutrinoSetupCGI(CyhookHandler *hh)