[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb: [282] trunk



Revision: 282
          http://svn.sourceforge.net/ledger-smb/?rev=282&view=rev
Author:   einhverfr
Date:     2006-10-23 19:40:58 -0700 (Mon, 23 Oct 2006)

Log Message:
-----------
Forgot to include the ledger-smb.conf on that last commit

Modified Paths:
--------------
    trunk/LedgerSMB/Sysconfig.pm
    trunk/LedgerSMB/User.pm
    trunk/ledger-smb.conf

Modified: trunk/LedgerSMB/Sysconfig.pm
===================================================================
--- trunk/LedgerSMB/Sysconfig.pm	2006-10-24 02:38:49 UTC (rev 281)
+++ trunk/LedgerSMB/Sysconfig.pm	2006-10-24 02:40:58 UTC (rev 282)
@@ -39,6 +39,11 @@
 # Path to the translation files
 $localepath = 'locale/mo';
 
+# available printers
+%printer = ( Laser	=> 'lpr -Plaser',
+             Epson	=> 'lpr -PEpson',
+	     );
+
 #################################
 # Global database parameters
 #################################
@@ -50,5 +55,13 @@
 
 #$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;

Modified: trunk/LedgerSMB/User.pm
===================================================================
--- trunk/LedgerSMB/User.pm	2006-10-24 02:38:49 UTC (rev 281)
+++ trunk/LedgerSMB/User.pm	2006-10-24 02:40:58 UTC (rev 282)
@@ -35,7 +35,6 @@
 use LedgerSMB::Sysconfig;
 
 
-
 sub new {
   my ($type, $memfile, $login) = @_;
   my $self = {};

Modified: trunk/ledger-smb.conf
===================================================================
--- trunk/ledger-smb.conf	2006-10-24 02:38:49 UTC (rev 281)
+++ trunk/ledger-smb.conf	2006-10-24 02:40:58 UTC (rev 282)
@@ -1,10 +1,4 @@
-use vars qw($userspath $spool $memberfile $templates $sendmail $language $sid $latex %printer $gzip $GLOBALDBH);
 
-# available printers
-%printer = ( Laser	=> 'lpr -Plaser',
-             Epson	=> 'lpr -PEpson',
-	     );
-
 # if the server can't find gzip, latex, dvips or pdflatex, add the path
 $ENV{PATH} .= ":/usr/local/bin:/usr/local/pgsql/bin";
 


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.