diff options
author | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-02-22 23:33:28 +0000 |
---|---|---|
committer | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-02-22 23:33:28 +0000 |
commit | dc9c9fcd6eb7711277e845fcebcbe4aac36f6f3d (patch) | |
tree | ec8f063b3c6fecb4fcfb79f8ffa1fdec61e2a9b0 | |
parent | 7ad073d4275f36e783d5b504397f3c04a2cb2494 (diff) |
Correcting regex in admin.pl
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@835 4979c152-3d1c-0410-bac9-87ea11338e46
-rwxr-xr-x | bin/admin.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/admin.pl b/bin/admin.pl index c5d82a42..dd839176 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 !/(^\.\.?|^\.svn)/, readdir TEMPLATEDIR; closedir TEMPLATEDIR; @allhtml = sort grep /\.html/, @all; |