diff options
Diffstat (limited to 'bin')
-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 0fa468cb..67cb2414 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; |