mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 17:01:15 +02:00
- 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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user