Index: trunk/phase3/RELEASE-NOTES-1.19 |
— | — | @@ -38,6 +38,8 @@ |
39 | 39 | div#bodyContent. |
40 | 40 | * (bug 30172) The check for posix_isatty() in maintenance scripts did not detect |
41 | 41 | when the function exists but is disabled. Introduced Maintenance::posix_isatty() |
| 42 | +* (bug 30264) Changed installer-generated LocalSettings.php to use require_once() |
| 43 | + instead require() for included extensions. |
42 | 44 | |
43 | 45 | === API changes in 1.19 === |
44 | 46 | * (bug 19838) siprop=interwikimap can now use the interwiki cache. |
Index: trunk/phase3/includes/installer/LocalSettingsGenerator.php |
— | — | @@ -129,7 +129,7 @@ |
130 | 130 | |
131 | 131 | foreach( $this->extensions as $extName ) { |
132 | 132 | $encExtName = self::escapePhpString( $extName ); |
133 | | - $localSettings .= "require( \"extensions/$encExtName/$encExtName.php\" );\n"; |
| 133 | + $localSettings .= "require_once( \"extensions/$encExtName/$encExtName.php\" );\n"; |
134 | 134 | } |
135 | 135 | } |
136 | 136 | |