summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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