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

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



Revision: 831
          http://svn.sourceforge.net/ledger-smb/?rev=831&view=rev
Author:   einhverfr
Date:     2007-02-22 14:49:52 -0800 (Thu, 22 Feb 2007)

Log Message:
-----------
Fixing bug 1665716

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:38:19 UTC (rev 830)
+++ branches/1.2/bin/admin.pl	2007-02-22 22:49:52 UTC (rev 831)
@@ -357,7 +357,7 @@
 	}
 
 	opendir TEMPLATEDIR, "${LedgerSMB::Sysconfig::templates}/." or $form->error(__FILE__.':'.__LINE__.': '."$templates : $!");
-	@all = grep !/^\.\.?$/, readdir TEMPLATEDIR;
+	@all = grep !/(\.\.?|^\.?)/, 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:38:19 UTC (rev 830)
+++ branches/1.2/ledger-smb.conf	2007-02-22 22:49:52 UTC (rev 831)
@@ -13,6 +13,6 @@
 #
 [globaldb]
 ##uncomment below and set to correct values
-#DBConnect: dbi:Pg:dbname=ledgersmb;host=localhost;port=5432
-#DBUserName: ledgersmb
-#DBPassword: password
+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.