tweak preload.perl

This commit is contained in:
Graham Knop 2010-03-11 09:10:17 -06:00
parent 2162ecba8c
commit ab04c2a14f

View file

@ -3,17 +3,15 @@ use strict;
use WebGUI::Paths -preload;
use Log::Log4perl;
Log::Log4perl->init( WebGUI::Paths->logConfig );
use DBI;
DBI->install_driver("mysql");
use WebGUI;
use WebGUI::Config;
use APR::Request::Apache2;
use Apache2::Cookie;
use Apache2::ServerUtil;
Log::Log4perl->init( WebGUI::Paths->logConfig );
DBI->install_driver("mysql");
if ( $ENV{MOD_PERL} ) {
# Add WebGUI to Apache version tokens
my $server = Apache2::ServerUtil->server;