mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-27 07:22:57 +02:00
try to fix path to /.version file
Origin commit data
------------------
Branch: ni/coolstream
Commit: 2bf44a7e4b
Author: vanhofen <vanhofen@gmx.de>
Date: 2020-12-06 (Sun, 06 Dec 2020)
Origin message was:
------------------
- try to fix path to /.version file
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -835,7 +835,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(TARGET_PREFIX "/.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
|
||||
@@ -2112,7 +2112,7 @@ void CControlAPI::EpgCGI(CyhookHandler *hh)
|
||||
//-----------------------------------------------------------------------------
|
||||
void CControlAPI::VersionCGI(CyhookHandler *hh)
|
||||
{
|
||||
hh->SendFile(TARGET_PREFIX "/.version");
|
||||
hh->SendFile(IMAGE_VERSION_FILE);
|
||||
}
|
||||
//-----------------------------------------------------------------------------
|
||||
void CControlAPI::ReloadNeutrinoSetupCGI(CyhookHandler *hh)
|
||||
|
Reference in New Issue
Block a user