summaryrefslogtreecommitdiff
path: root/lib/config.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/config.c')
-rw-r--r--lib/config.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/lib/config.c b/lib/config.c
index d53a26a..6bb6d3d 100644
--- a/lib/config.c
+++ b/lib/config.c
@@ -39,10 +39,13 @@ cEPG2VDRConfig::cEPG2VDRConfig(void)
seriesPort = 2006;
storeSeriesToFs = no;
-#ifdef VDR_PLUGIN
+ // for VDR_PLUGIN
+
activeOnEpgd = no;
scheduleBoot = no;
-#else
+
+ // for epgd
+
sstrcpy(cachePath, "/var/cache/epgd", sizeof(cachePath));
sstrcpy(httpPath, "/var/epgd/www", sizeof(httpPath));
sstrcpy(pluginPath, PLGDIR, sizeof(pluginPath));
@@ -51,7 +54,8 @@ cEPG2VDRConfig::cEPG2VDRConfig(void)
updateThreshold = 200;
maintanance = no;
httpPort = 9999;
-#endif
+
+ //
sstrcpy(dbHost, "localhost", sizeof(dbHost));
dbPort = 3306;