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

SF.net SVN: ledger-smb: [834] branches/1.2



Revision: 834
          http://svn.sourceforge.net/ledger-smb/?rev=834&view=rev
Author:   einhverfr
Date:     2007-02-22 15:30:25 -0800 (Thu, 22 Feb 2007)

Log Message:
-----------
Correcting regex in admin.pl

Modified Paths:
--------------
    branches/1.2/bin/admin.pl
    branches/1.2/ledger-smb.conf

Modified: branches/1.2/bin/admin.pl
===================================================================
--- branches/1.2/bin/admin.pl	2007-02-22 22:52:03 UTC (rev 833)
+++ branches/1.2/bin/admin.pl	2007-02-22 23:30:25 UTC (rev 834)
@@ -357,7 +357,7 @@
 	}
 
 	opendir TEMPLATEDIR, "${LedgerSMB::Sysconfig::templates}/." or $form->error(__FILE__.':'.__LINE__.': '."$templates : $!");
-	@all = grep !/(\.\.?|^\.?)/, readdir TEMPLATEDIR;
+	@all = grep !/(^\.\.?$|^\.svn)/, readdir TEMPLATEDIR;
 	closedir TEMPLATEDIR;
 
 	@allhtml = sort grep /\.html/, @all;

Modified: branches/1.2/ledger-smb.conf
===================================================================
--- branches/1.2/ledger-smb.conf	2007-02-22 22:52:03 UTC (rev 833)
+++ branches/1.2/ledger-smb.conf	2007-02-22 23:30:25 UTC (rev 834)
@@ -1,52 +1,18 @@
-session  : DB
-logging  : 0
-
-# Set language for login and admin pages
-language : 
-
-# If you have LaTeX installed, set to 1
-latex : 1
-
-# Maximum number of invoices that can be printed on a cheque
-check_max_invoices : 5
-
 [environment]
-# If the server can't find applications, append to the path
-PATH: /usr/local/pgsql/bin
+# if the server can't find gzip, latex, dvips or pdflatex, append the path
 PATH: /usr/local/bin
+PATH: /usr/local/pgsql/bin
 
-# If on Mac OS X using Fink's Perl libs, append to the path
-#PERL5LIB = /sw/lib/perl5
+# on mac os X using Fink's Perl libs, add the path
+#PERL5LIB: /sw/lib/perl5
 
-[paths]
-# spool directory for batch printing
-spool      = spool
-# path to user configuration files
-userspath  = users
-# templates base directory
-templates  = templates
-# member file
-memberfile = users/members
-localepath = locale/po
-
-[programs]
-# program to use for file compression
-gzip       = gzip -S .gz
-
-[mail]
-### How to send mail.  The sendmail command is used unless smtphost is set.
-sendmail   = /usr/bin/sendmail -t
-# smtphost = 127.0.0.1
-# smtptimeout = 60
-
-[printers]
-# Available printers
-Laser      = lpr -Plaser
-Epson      = lpr -PEpson
-
+#################################
+# Global database parameters
+#################################
+# These parameters *must* be set correctly for LedgerSMB >= 1.2 to work
+#
 [globaldb]
-# These paramaters *must* be set correctly
-# for LedgerSMB >= 1.2 to work
-DBConnect  = dbi:Pg:dbname=ledgersmb;host=localhost;port=5432
-DBUserName   = ledgersmb
-DBPassword   = set me to correct password
+##uncomment below and set to correct values
+DBConnect: dbi:Pg:dbname=lsmb13;host=localhost;port=5432
+DBUserName: postgres
+DBPassword: test 


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