r43553 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r43552‎ | r43553 | r43554 >
Date:11:46, 15 November 2008
Author:aaron
Status:deferred
Tags:
Comment:
Fix regexp
Modified paths:
  • /trunk/extensions/Configure/Configure.handler-files.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Configure/Configure.handler-files.php
@@ -111,7 +111,7 @@
112112 return array();
113113 $files = array();
114114 while ( ( $file = readdir( $dir ) ) !== false ) {
115 - if ( preg_match( '/conf-(\d{14}).ser$/', $file, $m ) )
 115+ if ( preg_match( '/conf-(\d{14})\.ser$/', $file, $m ) )
116116 $files[] = $m[1];
117117 }
118118 sort( $files, SORT_NUMERIC );

Status & tagging log