r52062 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r52061‎ | r52062 | r52063 >
Date:18:16, 17 June 2009
Author:kim
Status:deferred
Tags:
Comment:
When doing array_merge, it helps to actually specify multiple arrays ;-)
Modified paths:
  • /trunk/testing/installer/LocalSettings.php (modified) (history)

Diff [purge]

Index: trunk/testing/installer/LocalSettings.php
@@ -130,7 +130,7 @@
131131 # load Localsettings specific to particular modules
132132
133133 $additional_settings=glob("$IP/LocalSettings/*.php.settings");
134 -$additional_settings=array_merge(glob("$IP/LocalSettings/*.settings.php")); #backward compatibility
 134+$additional_settings=array_merge(glob("$IP/LocalSettings/*.settings.php"), $additional_settings); #backward compatibility
135135 if ($additional_settings) {
136136 foreach ($additional_settings as $file) {
137137 require_once($file);

Status & tagging log