Added .htaccess

Changed kwotes.conf.pl to not use "constant", and modified the rest of the scripts to reflect that
This commit is contained in:
briandilley
2004-10-15 19:35:43 +00:00
parent d470d3c927
commit 44ad98e21c
4 changed files with 59 additions and 47 deletions

View File

@ -7,12 +7,12 @@
# something about kwotes being GPL #
###################################################
# bring in the config
require "kwotes.conf.pl";
# bring in the required libs
require "kwotes-lib.pl";
# bring in the config
require "kwotes.conf.pl";
# is this getting called by the "delete" cronjob?
if ($ARGV[0] eq "cleanup") {
exit cleanup();
@ -31,13 +31,13 @@ foreach my $key (keys %ENV) {
$vars{$key} = $ENV{$key};
}
# send the HTML header
send_html_header();
# add information that is displayed on every page
$vars{KWOTE_COUNT} = get_kwote_count();
$vars{KWOTE_BACKUP_COUNT} = get_kwote_backup_count();
# send the HTML header
send_html_header();
############
# action: add (show add form)
if ($action eq "add") {