[prev] [thread] [next] [lurker] [Date index for 2003/07/31]
Author: simon Date: 2003-07-31 14:54:39 +0100 (Thu, 31 Jul 2003) New Revision: 1276 Modified: trunk/siesta/bin/nacho Log: Comment on the nasty BEGIN / create-database hack Modified: trunk/siesta/bin/nacho ============================================================================== --- trunk/siesta/bin/nacho 2003-07-31 12:48:46 UTC (rev 1275) +++ trunk/siesta/bin/nacho 2003-07-31 13:54:39 UTC (rev 1276) @@ -24,7 +24,12 @@ } elsif ($ARGV[0] eq '-f') { shift; @Siesta::Config::CONFIG_FILE = shift; - + + + # we have to check for create-database here + # because otherwise Class::DBI will have already + # been loaded by Siesta or Siesta::Member, found + # no DB and then died on us. } elsif ($ARGV[0] eq 'create-database' ) { require Siesta::DBI; Siesta::DBI->init_db;
Generated at 13:57 on 01 Jul 2004 by mariachi 0.52