[interchange-cvs] interchange - racke modified lib/Vend/Config.pm
interchange-core@interchange.redhat.com
interchange-core@interchange.redhat.com
Mon Oct 8 10:39:01 2001
User: racke
Date: 2001-10-08 14:38:42 GMT
Modified: lib/Vend Config.pm
Log:
Changed back type of StaticPage to boolean.
Never thought that this meant actually
an array of booleans. The ugly special case
for StaticPage in parse_boolean caught me.
Revision Changes Path
2.9 +3 -3 interchange/lib/Vend/Config.pm
rev 2.9, prev_rev 2.8
Index: Config.pm
===================================================================
RCS file: /anon_cvs/repository/interchange/lib/Vend/Config.pm,v
retrieving revision 2.8
retrieving revision 2.9
diff -u -r2.8 -r2.9
--- Config.pm 2001/10/08 08:15:26 2.8
+++ Config.pm 2001/10/08 14:38:42 2.9
@@ -1,6 +1,6 @@
# Vend::Config - Configure Interchange
#
-# $Id: Config.pm,v 2.8 2001/10/08 08:15:26 racke Exp $
+# $Id: Config.pm,v 2.9 2001/10/08 14:38:42 racke Exp $
#
# Copyright (C) 1996-2001 Red Hat, Inc. <interchange@redhat.com>
#
@@ -95,7 +95,7 @@
use Vend::Parse;
use Vend::Util;
-$VERSION = substr(q$Revision: 2.8 $, 10);
+$VERSION = substr(q$Revision: 2.9 $, 10);
my %CDname;
@@ -491,7 +491,7 @@
['UserDatabase', undef, ''], #undocumented
['RobotLimit', 'integer', 0],
['OrderLineLimit', 'integer', 0],
- ['StaticPage', 'array', ''],
+ ['StaticPage', 'boolean', ''],
['StaticPath', undef, '/'],
['StaticPattern', 'regex', ''],
['StaticSuffix', undef, '.html'],