From 5563464c5392112f0f7b20fcfd610a734303e4c2 Mon Sep 17 00:00:00 2001 From: Russ Allbery Date: Sat, 1 Dec 2007 00:47:22 +0000 Subject: Move wallet.conf to /etc/wallet since we're going to want to put other things in that directory as well. --- docs/setup | 2 +- perl/Wallet/Config.pm | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/docs/setup b/docs/setup index 87c327d..582c792 100644 --- a/docs/setup +++ b/docs/setup @@ -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. That file should contain any site-specific -overrides to the defaults, and at least some parameters must be set. +the file F. 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: -- cgit v1.2.3