changeset 78:2257992abd2f

Don't show *.orig and *.rej files in file listing.
author Matti Hamalainen <ccr@tnsp.org>
date Sun, 11 Sep 2011 18:35:22 +0300
parents bae07e52591d
children fccfbcbb06e4
files index.php
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/index.php	Sun Sep 11 18:12:27 2011 +0300
+++ b/index.php	Sun Sep 11 18:35:22 2011 +0300
@@ -2,6 +2,9 @@
 $pageTitle = "Eggdrop IRC robot TCL scripts";
 require "mcommon.inc.php";
 printPageHeader($pageTitle);
+
+// Exclude *.orig, *.rej
+$dirListFilter = "/\.orig$|\.rej$/";
 require "mdirlist.inc.php";
 printPageFooter();
 ?>
\ No newline at end of file