From ddf4a47f8f0714c1b4f63d889e55f9d88729c3c7 Mon Sep 17 00:00:00 2001 From: einhverfr Date: Thu, 22 Feb 2007 22:49:52 +0000 Subject: Fixing bug 1665716 git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@831 4979c152-3d1c-0410-bac9-87ea11338e46 --- bin/admin.pl | 2 +- ledger-smb.conf | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bin/admin.pl b/bin/admin.pl index c93a24fc..0fa468cb 100755 --- a/bin/admin.pl +++ b/bin/admin.pl @@ -357,7 +357,7 @@ sub form_header { } 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; diff --git a/ledger-smb.conf b/ledger-smb.conf index 6166265d..29024dc5 100644 --- a/ledger-smb.conf +++ b/ledger-smb.conf @@ -13,6 +13,6 @@ PATH: /usr/local/pgsql/bin # [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 -- cgit v1.2.3