# HG changeset patch # User Matti Hamalainen # Date 1315755322 -10800 # Node ID 2257992abd2f8213aba55155e7564172b9058efb # Parent bae07e52591d77b10560a7e97d902be561f097cf Don't show *.orig and *.rej files in file listing. diff -r bae07e52591d -r 2257992abd2f index.php --- 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