mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 01:11:12 +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");
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
@@ -524,14 +524,14 @@ void CControlAPI::SettingsCGI(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