r43556 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r43555‎ | r43556 | r43557 >
Date:11:54, 15 November 2008
Author:aaron
Status:deferred
Tags:
Comment:
Fix regexp more: add starting anchor
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 rsort( $files, SORT_NUMERIC );

Status & tagging log