Index: trunk/testing/installer/LocalSettings.php |
— | — | @@ -130,9 +130,10 @@ |
131 | 131 | # load Localsettings specific to particular modules |
132 | 132 | |
133 | 133 | $additional_settings=glob("$IP/LocalSettings/*.php"); |
134 | | -foreach ($additional_settings as $file) { |
135 | | - require_once($file); |
| 134 | +if ($additional_settings) { |
| 135 | + foreach ($additional_settings as $file) { |
| 136 | + require_once($file); |
| 137 | + } |
136 | 138 | } |
137 | 139 | |
138 | | - |
139 | 140 | ?> |