neutrino: fix file locations. use the predetermined CONFIGDIR instead of hardcoding paths.

Origin commit data
------------------
Commit: 8dfa226920
Author: [CST] Bas <bas@coolstreamtech.com>
Date: 2013-01-25 (Fri, 25 Jan 2013)
This commit is contained in:
[CST] Bas
2013-01-25 10:33:40 +08:00
parent e4f9eceafd
commit 953831c2c3
12 changed files with 16 additions and 16 deletions

View File

@@ -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");
}
//-----------------------------------------------------------------------------