introduce configurable ZAPITDIR

Origin commit data
------------------
Branch: ni/coolstream
Commit: 6161eeef9b
Author: vanhofen <vanhofen@gmx.de>
Date: 2021-10-19 (Tue, 19 Oct 2021)

Origin message was:
------------------
- introduce configurable ZAPITDIR

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2021-10-19 22:35:24 +02:00
parent cd0bb34f74
commit 0eaa4b5791
20 changed files with 47 additions and 38 deletions

View File

@@ -677,21 +677,21 @@ void CControlAPI::GetTimeCGI(CyhookHandler *hh)
// send services.xml
void CControlAPI::GetServicesxmlCGI(CyhookHandler *hh)
{
hh->SendFile(CONFIGDIR "/zapit/services.xml");
hh->SendFile(ZAPITDIR "/services.xml");
}
//-----------------------------------------------------------------------------
// send bouquets.xml
void CControlAPI::GetBouquetsxmlCGI(CyhookHandler *hh)
{
hh->SendFile(CONFIGDIR "/zapit/bouquets.xml");
hh->SendFile(ZAPITDIR "/bouquets.xml");
}
//-----------------------------------------------------------------------------
// send ubouquets.xml
void CControlAPI::GetUBouquetsxmlCGI(CyhookHandler *hh)
{
hh->SendFile(CONFIGDIR "/zapit/ubouquets.xml");
hh->SendFile(ZAPITDIR "/ubouquets.xml");
}
//-------------------------------------------------------------------------