diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2002-05-13 16:11:19 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2002-05-13 16:11:19 +0200 |
commit | 49fcbf19fa2a179d06990443349575ffa86a697f (patch) | |
tree | 5399a6193ab2f144408c5b73e840ec2071878c18 /vdr.c | |
parent | bbddf7e2dbc855e1abc05c748c7c16ccf7a00ca5 (diff) | |
download | vdr-49fcbf19fa2a179d06990443349575ffa86a697f.tar.gz vdr-49fcbf19fa2a179d06990443349575ffa86a697f.tar.bz2 |
Made the config directory available to plugins
Diffstat (limited to 'vdr.c')
-rw-r--r-- | vdr.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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")); |