Index: trunk/extensions/SyntaxHighlight_GeSHi/SyntaxHighlight_GeSHi.php |
— | — | @@ -61,11 +61,6 @@ |
62 | 62 | $wgExtensionFunctions[] = 'efSyntaxHighlight_GeSHiSetup'; |
63 | 63 | } |
64 | 64 | |
65 | | -if ( file_exists( $dir . 'geshi/geshi.php' ) ) { |
66 | | - require_once( 'geshi/geshi.php' ); |
67 | | - $wgExtensionCredits['parserhook']['SyntaxHighlight_GeSHi']['version'] = GESHI_VERSION; |
68 | | -} |
69 | | - |
70 | 65 | /** |
71 | 66 | * Register parser hook |
72 | 67 | */ |
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_once( 'geshi/geshi.php' ); |
| 310 | + require( 'geshi/geshi.php' ); |
311 | 311 | self::$initialised = true; |
312 | 312 | } |
313 | 313 | return true; |