4 our @EXPORT_OK = qw(cfg util_dir cgi_dir public_html_dir templates_dir data_dir mysql_name perl);
5 use lib 'site/cgi-bin/modules';
8 our $VERSION = "1.000";
10 my $conffile = $ENV{BSECONFIG} || 'install.cfg';
12 my $cfg = BSE::Cfg->new
14 path => "site/cgi-bin",
15 extra_file => $conffile,
27 $cfg->entryVar("paths", "util");
31 $cfg->entryVar("paths", "cgi-bin");
35 $cfg->entryVar("paths", "public_html");
39 $cfg->entryVar("paths", "templates");
43 $cfg->entryVar("paths", "data");
47 $cfg->entry("binaries", "mysql", "mysql");
51 $cfg->entry("paths", "perl", $^X);
55 $cfg->entryErr("db", "dsn");
59 $cfg->entryErr("db", "user");
63 $cfg->entryErr("db", "password");