Index: trunk/extensions/SyntaxHighlight_GeSHi/SyntaxHighlight_GeSHi.php |
— | — | @@ -62,7 +62,7 @@ |
63 | 63 | } |
64 | 64 | |
65 | 65 | if ( file_exists( $dir . 'geshi/geshi.php' ) ) { |
66 | | - require( 'geshi/geshi.php' ); |
| 66 | + require_once( 'geshi/geshi.php' ); |
67 | 67 | $wgExtensionCredits['parserhook']['SyntaxHighlight_GeSHi']['version'] = GESHI_VERSION; |
68 | 68 | } |
69 | 69 | |
Index: trunk/extensions/SyntaxHighlight_GeSHi/SyntaxHighlight_GeSHi.class.php |
— | — | @@ -306,7 +306,7 @@ |
307 | 307 | if( !self::$initialised ) { |
308 | 308 | wfLoadExtensionMessages( 'SyntaxHighlight_GeSHi' ); |
309 | 309 | if( !class_exists( 'GeSHi' ) ) |
310 | | - require( 'geshi/geshi.php' ); |
| 310 | + require_once( 'geshi/geshi.php' ); |
311 | 311 | self::$initialised = true; |
312 | 312 | } |
313 | 313 | return true; |