diff options
author | justdave%syndicomm.com <> | 2001-06-02 08:53:01 +0000 |
---|---|---|
committer | justdave%syndicomm.com <> | 2001-06-02 08:53:01 +0000 |
commit | ed091f882765b672712fadc7f821fcb69a15769b (patch) | |
tree | a172434b2e574dd07404621e532dbdcc37095aa1 /checksetup.pl | |
parent | 8e1f344a2b52856dde0ac23b05244d3a3e7bf66e (diff) | |
download | bugs-ed091f882765b672712fadc7f821fcb69a15769b.tar bugs-ed091f882765b672712fadc7f821fcb69a15769b.tar.gz bugs-ed091f882765b672712fadc7f821fcb69a15769b.tar.bz2 bugs-ed091f882765b672712fadc7f821fcb69a15769b.tar.xz bugs-ed091f882765b672712fadc7f821fcb69a15769b.zip |
Fix for bug 83618: checksetup.pl crashes if DBI module isn't already installed.
Patch by Dave Miller <justdave@syndicomm.com>
r= jake@acutex.net
Diffstat (limited to 'checksetup.pl')
-rwxr-xr-x | checksetup.pl | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/checksetup.pl b/checksetup.pl index be7df27e0..39002c41c 100755 --- a/checksetup.pl +++ b/checksetup.pl @@ -557,7 +557,11 @@ if ($my_webservergroup) { my $db_base = 'mysql'; -use DBI; +# No need to "use" this here. It should already be loaded from the +# version-checking routines above, and this file won't even compile if +# DBI isn't installed so the user gets nasty errors instead of our +# pretty one saying they need to install it. -- justdave@syndicomm.com +#use DBI; # get a handle to the low-level DBD driver my $drh = DBI->install_driver($db_base) |