Index: trunk/extensions/OggHandler/ext.php |
— | — | @@ -1,18 +0,0 @@ |
2 | | -<?php |
3 | | - |
4 | | -$oggDir = dirname(__FILE__); |
5 | | -$wgAutoloadClasses['OggHandler'] = "$oggDir/OggHandler_body.php"; |
6 | | -$wgMediaHandlers['application/ogg'] = 'OggHandler'; |
7 | | -if ( !in_array( 'ogg', $wgFileExtensions ) ) { |
8 | | - $wgFileExtensions[] = 'ogg'; |
9 | | -} |
10 | | -ini_set( 'include_path', |
11 | | - "$oggDir/PEAR/File_Ogg" . |
12 | | - PATH_SEPARATOR . |
13 | | - ini_get( 'include_path' ) ); |
14 | | - |
15 | | -$wgFFmpegLocation = 'ffmpeg'; |
16 | | -$wgExtensionMessagesFiles['OggHandler'] = "$oggDir/OggHandler.i18n.php"; |
17 | | -$wgParserOutputHooks['OggHandler'] = array( 'OggHandler', 'outputHook' ); |
18 | | - |
19 | | -?> |
Index: trunk/extensions/OggHandler/OggHandler.php |
— | — | @@ -0,0 +1,18 @@ |
| 2 | +<?php |
| 3 | + |
| 4 | +$oggDir = dirname(__FILE__); |
| 5 | +$wgAutoloadClasses['OggHandler'] = "$oggDir/OggHandler_body.php"; |
| 6 | +$wgMediaHandlers['application/ogg'] = 'OggHandler'; |
| 7 | +if ( !in_array( 'ogg', $wgFileExtensions ) ) { |
| 8 | + $wgFileExtensions[] = 'ogg'; |
| 9 | +} |
| 10 | +ini_set( 'include_path', |
| 11 | + "$oggDir/PEAR/File_Ogg" . |
| 12 | + PATH_SEPARATOR . |
| 13 | + ini_get( 'include_path' ) ); |
| 14 | + |
| 15 | +$wgFFmpegLocation = 'ffmpeg'; |
| 16 | +$wgExtensionMessagesFiles['OggHandler'] = "$oggDir/OggHandler.i18n.php"; |
| 17 | +$wgParserOutputHooks['OggHandler'] = array( 'OggHandler', 'outputHook' ); |
| 18 | + |
| 19 | +?> |
Property changes on: trunk/extensions/OggHandler/OggHandler.php |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 20 | + native |