summaryrefslogtreecommitdiff
path: root/LedgerSMB/Sysconfig.pm
diff options
context:
space:
mode:
Diffstat (limited to 'LedgerSMB/Sysconfig.pm')
-rw-r--r--LedgerSMB/Sysconfig.pm13
1 files changed, 13 insertions, 0 deletions
diff --git a/LedgerSMB/Sysconfig.pm b/LedgerSMB/Sysconfig.pm
index 3023ac79..5b67b690 100644
--- a/LedgerSMB/Sysconfig.pm
+++ b/LedgerSMB/Sysconfig.pm
@@ -39,6 +39,11 @@ $gzip = "gzip -S .gz";
# Path to the translation files
$localepath = 'locale/mo';
+# available printers
+%printer = ( Laser => 'lpr -Plaser',
+ Epson => 'lpr -PEpson',
+ );
+
#################################
# Global database parameters
#################################
@@ -50,5 +55,13 @@ my $globalPassword = "set me to correct password";
#$GLOBALDBH = DBI->connect($globalDBConnect, $globalDBUserName, $globalDBPassword);
+# These lines prevent other apps in mod_perl from seeing the global db
+# connection info
+
+my $globalDBConnect = undef;
+my $globalUserName = undef;
+my $globalPassword = undef;
+
+
1;