rev 1431 - trunk/siesta

[prev] [thread] [next] [lurker] [Date index for 2003/10/17]

From: richardc
Subject: rev 1431 - trunk/siesta
Date: 12:48 on 17 Oct 2003
Author: richardc
Date: 2003-10-17 12:48:27 +0100 (Fri, 17 Oct 2003)
New Revision: 1431

Modified:
   trunk/siesta/Config.pm.in
Log:
quick hackround


Modified: trunk/siesta/Config.pm.in
===================================================================
--- trunk/siesta/Config.pm.in	2003-10-16 16:51:04 UTC (rev 1430)
+++ trunk/siesta/Config.pm.in	2003-10-17 11:48:27 UTC (rev 1431)
@@ -95,7 +95,7 @@
 sub load_from {
     shift;
     my $file = shift;
-    $config->file($file);
+    $config->file($file) if -e $file;
 
     @STORAGE   = ($config->get('storage_dsn'),
                   $config->get('storage_user'),
@@ -142,7 +142,7 @@
             DEFAULT => undef,
         },
     );
-    __PACKAGE__->load_from( $CONFIG_FILE ) if -e $CONFIG_FILE;
+    __PACKAGE__->load_from( $CONFIG_FILE );
 }
 
 1;

Generated at 13:57 on 01 Jul 2004 by mariachi 0.52