summaryrefslogtreecommitdiff
path: root/vdr.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2002-05-13 16:11:19 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2002-05-13 16:11:19 +0200
commit49fcbf19fa2a179d06990443349575ffa86a697f (patch)
tree5399a6193ab2f144408c5b73e840ec2071878c18 /vdr.c
parentbbddf7e2dbc855e1abc05c748c7c16ccf7a00ca5 (diff)
downloadvdr-49fcbf19fa2a179d06990443349575ffa86a697f.tar.gz
vdr-49fcbf19fa2a179d06990443349575ffa86a697f.tar.bz2
Made the config directory available to plugins
Diffstat (limited to 'vdr.c')
-rw-r--r--vdr.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/vdr.c b/vdr.c
index 04bcc07a..b9bd0941 100644
--- a/vdr.c
+++ b/vdr.c
@@ -22,7 +22,7 @@
*
* The project's page is at http://www.cadsoft.de/people/kls/vdr
*
- * $Id: vdr.c 1.107 2002/05/12 10:11:08 kls Exp $
+ * $Id: vdr.c 1.108 2002/05/13 16:09:06 kls Exp $
*/
#include <getopt.h>
@@ -301,6 +301,8 @@ int main(int argc, char *argv[])
if (!ConfigDirectory)
ConfigDirectory = VideoDirectory;
+ cPlugin::SetConfigDirectory(ConfigDirectory);
+
Setup.Load(AddDirectory(ConfigDirectory, "setup.conf"));
Channels.Load(AddDirectory(ConfigDirectory, "channels.conf"));
Timers.Load(AddDirectory(ConfigDirectory, "timers.conf"));