diff options
-rw-r--r-- | docs/setup | 2 | ||||
-rw-r--r-- | perl/Wallet/Config.pm | 7 |
2 files changed, 5 insertions, 4 deletions
@@ -21,7 +21,7 @@ MySQL Database Setup system and gives it access to the wallet database, where it can create its own tables. - Now, create an /etc/wallet.conf file and include settings like: + Now, create an /etc/wallet/wallet.conf file and include settings like: $DB_DRIVER = 'MySQL'; $DB_NAME = 'wallet'; diff --git a/perl/Wallet/Config.pm b/perl/Wallet/Config.pm index ad8070b..57cce9b 100644 --- a/perl/Wallet/Config.pm +++ b/perl/Wallet/Config.pm @@ -18,7 +18,7 @@ use vars qw($PATH $VERSION); $VERSION = '0.01'; # Path to the config file to load. -$PATH = '/etc/wallet.conf'; +$PATH = '/etc/wallet/wallet.conf'; =head1 NAME @@ -48,8 +48,9 @@ Wallet::Config - Configuration handling for the wallet server Wallet::Config encapsulates all of the site-specific configuration for the wallet server. It is implemented as a Perl class that declares and sets the defaults for various configuration variables and then, if it exists, loads -the file F</etc/wallet.conf>. That file should contain any site-specific -overrides to the defaults, and at least some parameters must be set. +the file F</etc/wallet/wallet.conf>. That file should contain any +site-specific overrides to the defaults, and at least some parameters must +be set. This file must be valid Perl. To set a variable, use the syntax: |