#######################################################################
BEGIN {
- push(@INC, "modules");
+ unshift @INC, "modules/override"; # Use our own versions of various modules (e.g. YAML).
+ push @INC, "modules/fallback"; # Only use our own versions of modules if there's no system version.
}
# setup defaults, DO NOT CHANGE
use SL::LXDebug;
$lxdebug = LXDebug->new();
-use CGI;
+use CGI qw( -no_xhtml);
use SL::Form;
use SL::Locale;
$form = new Form;
$cgi = new CGI('');
+# this prevents most of the tabindexes being created by CGI.
+# note: most. popup menus and selecttables will still have tabindexes
+# use common.pl's NTI function to get rid of those
+local $CGI::TABINDEX = 0;
+
# name of this script
$0 =~ tr/\\/\//;
$pos = rindex $0, '/';
# pull in DBI
use DBI;
+$form->{login} =~ s|.*/||;
+
# check for user config file, could be missing or ???
eval { require("$userspath/$form->{login}.conf"); };
if ($@) {