Moved the offline executables to "sbin". Updated testEnvironment.pl to test all of the conf files in etc.

This commit is contained in:
JT Smith 2002-05-29 17:20:51 +00:00
parent 4ba70f123e
commit 2671feae26
4 changed files with 487 additions and 0 deletions

36
sbin/preload.perl Normal file
View file

@ -0,0 +1,36 @@
#! /usr/bin/perl
use strict;
use lib "/data/WebGUI/lib";
print "Staring WebGUI ".$WebGUI::VERSION."\t\t";
$ENV{GATEWAY_INTERFACE} =~ /^CGI-Perl/ or die "GATEWAY_INTERFACE not Perl!";
use Apache::Registry ();
use Apache::DBI ();
use CGI (); CGI->compile(':all');
use CGI::Carp ();
use DBI ();
use DBD::mysql ();
use URI::Escape ();
#use HTML::Parser (); # commented because it is causing problems with attachments
use Data::Config ();
use Date::Calc ();
use HTML::CalendarMonthSimple ();
eval "use Image::Magick ();"; # eval, may not be installed
use Tie::CPHash ();
use Tie::IxHash ();
use Net::LDAP ();
use Net::SMTP ();
use File::Copy ();
use File::Path ();
use FileHandle ();
#use HTML::TagFilter (); # commented because it is causing problems with attachments
use POSIX ();
use WebGUI ();
print "[ OK ]";
1;