tweak preload.perl
This commit is contained in:
parent
2162ecba8c
commit
ab04c2a14f
1 changed files with 3 additions and 5 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue