summaryrefslogtreecommitdiff
path: root/admin/bos.cgi
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2021-03-11 23:54:04 +0100
committerJonas Smedegaard <dr@jones.dk>2021-03-12 00:18:03 +0100
commit384de1f86b2dab231116c0596d29c5927ca20526 (patch)
tree38672a0fded8cd63b59b930fa8573c5acbb576d8 /admin/bos.cgi
initial tracking as of 2003-10-11 (except index.da.html of 2006-11-27)
Diffstat (limited to 'admin/bos.cgi')
-rwxr-xr-xadmin/bos.cgi27
1 files changed, 27 insertions, 0 deletions
diff --git a/admin/bos.cgi b/admin/bos.cgi
new file mode 100755
index 0000000..fb88608
--- /dev/null
+++ b/admin/bos.cgi
@@ -0,0 +1,27 @@
+#!/usr/bin/perl -wT
+
+# Copyright (c) 1997-2000 Jonas Smedegaard <dr@jones.dk>
+# $Id: bos.cgi, version 4.1 $
+
+use CGI::Carp 'fatalsToBrowser';
+require 5.003;
+use strict;
+
+##############################################################
+
+# BOS needs to know the path to the libraries and stuff
+#
+# That would also be the place to put FastTemplate and other
+# modules not installed at your website
+
+require "/usr/local/lib/scripts/jonas/bos-test/bos_defaults.pl";
+use lib "/usr/local/lib/scripts/jonas/bos-test";
+#use lib "$ENV{'DOCUMENT_ROOT'}/cgi-local";
+use lib "./";
+
+##############################################################
+
+# Don't touch these!
+
+require 'bos_defaults.pl';
+require 'bos-main.pl';