summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-02-22 22:49:52 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-02-22 22:49:52 +0000
commitddf4a47f8f0714c1b4f63d889e55f9d88729c3c7 (patch)
tree98ae281921447a5218a14bdb972a232d7cc7af3c
parent5e59c4f19ca1f7709a9336a9b1dd6c2e83486ca3 (diff)
Fixing bug 1665716
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@831 4979c152-3d1c-0410-bac9-87ea11338e46
-rwxr-xr-xbin/admin.pl2
-rw-r--r--ledger-smb.conf6
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