mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
neutrino: fix file locations. use the predetermined CONFIGDIR instead of hardcoding paths.
This commit is contained in:
@@ -514,14 +514,14 @@ void CControlAPI::GetTimeCGI(CyhookHandler *hh)
|
||||
// send services.xml
|
||||
void CControlAPI::GetServicesxmlCGI(CyhookHandler *hh)
|
||||
{
|
||||
hh->SendFile("/var/tuxbox/config/zapit/services.xml");
|
||||
hh->SendFile(CONFIGDIR "/zapit/services.xml");
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// send bouquets.xml
|
||||
void CControlAPI::GetBouquetsxmlCGI(CyhookHandler *hh)
|
||||
{
|
||||
hh->SendFile("/var/tuxbox/config/zapit/bouquets.xml");
|
||||
hh->SendFile(CONFIGDIR "/zapit/bouquets.xml");
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user