[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb: [835] trunk/bin/admin.pl



Revision: 835
          http://svn.sourceforge.net/ledger-smb/?rev=835&view=rev
Author:   einhverfr
Date:     2007-02-22 15:33:28 -0800 (Thu, 22 Feb 2007)

Log Message:
-----------
Correcting regex in admin.pl

Modified Paths:
--------------
    trunk/bin/admin.pl

Modified: trunk/bin/admin.pl
===================================================================
--- trunk/bin/admin.pl	2007-02-22 23:30:25 UTC (rev 834)
+++ trunk/bin/admin.pl	2007-02-22 23:33:28 UTC (rev 835)
@@ -357,7 +357,7 @@
 	}
 
 	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;


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.