- introduce configurable ZAPITDIR

Conflicts:
	data/config/settingsupdate.conf.in

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
svenhoefer
2021-10-19 22:35:24 +02:00
committed by Thilo Graf
parent 3cc4b7c53e
commit 08ee186b19
19 changed files with 50 additions and 42 deletions

View File

@@ -667,21 +667,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");
}
//-------------------------------------------------------------------------