mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-27 15:32:52 +02:00
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:
@@ -752,7 +752,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(TARGET_PREFIX "/.version");
|
||||
else if (hh->ParamList["1"] == "httpdversion") // print httpd version typ (only ffor comptibility)
|
||||
hh->Write("3");
|
||||
else if (hh->ParamList["1"] == "nhttpd_version")// print nhttpd version
|
||||
@@ -1934,7 +1934,7 @@ void CControlAPI::EpgCGI(CyhookHandler *hh)
|
||||
//-----------------------------------------------------------------------------
|
||||
void CControlAPI::VersionCGI(CyhookHandler *hh)
|
||||
{
|
||||
hh->SendFile("/.version");
|
||||
hh->SendFile(TARGET_PREFIX "/.version");
|
||||
}
|
||||
//-----------------------------------------------------------------------------
|
||||
void CControlAPI::ReloadNeutrinoSetupCGI(CyhookHandler *hh)
|
||||
|
Reference in New Issue
Block a user