Index: trunk/extensions/WindowsAzureSDK/WindowsAzureSDK.php |
— | — | @@ -26,19 +26,15 @@ |
27 | 27 | $wgExtensionCredits['other'][] = array( |
28 | 28 | 'path' => __FILE__, |
29 | 29 | 'name' => 'WindowsAzureSDK', |
30 | | - 'author' => array( 'REALDOLMEN', 'Hallo Welt! Medienwerkstatt GmbH' ), |
| 30 | + 'author' => array( 'REALDOLMEN', 'Hallo Welt! Medienwerkstatt GmbH', 'Robert Vogel' ), |
31 | 31 | 'url' => 'http://www.hallowelt.biz', |
32 | 32 | 'version' => '4.1.0', |
33 | 33 | 'descriptionmsg' => 'windowswzuresdk-desc', |
34 | 34 | ); |
35 | 35 | |
36 | 36 | $dir = dirname(__FILE__) . '/'; |
37 | | -$wgExtensionMessagesFiles['WindowsAzureSDK'] = $dir . 'WindowsAzureSDK.i18n.php'; |
| 37 | +$wgExtensionMessagesFiles['WindowsAzureSDK'] = $dir . 'WindowsAzureSDK.i18n.php'; |
38 | 38 | |
39 | 39 | if(!class_exists('Microsoft_WindowsAzure_Diagnostics_Manager')) { |
40 | | - require_once( $dir.'lib/PHPAzure/library/Microsoft/AutoLoader.php' ); |
41 | | -} |
42 | | - |
43 | | -if (!defined( 'MICROSOFT_WINDOWS_AZURE_SDK_VERSION' )) { |
44 | | - define( 'MICROSOFT_WINDOWS_AZURE_SDK_VERSION', '4.1.0' ); |
| 40 | + require_once( $wgWindowsAzureSDKRoot.'/library/Microsoft/AutoLoader.php' ); |
45 | 41 | } |
\ No newline at end of file |
Index: trunk/extensions/WindowsAzureSDK/README.txt |
— | — | @@ -1 +1,12 @@ |
2 | | -This extension contains the Microsoft "Windows Azure SDK for PHP v4.1.0" (http://phpazure.codeplex.com/) by REALDOLMEN. |
\ No newline at end of file |
| 2 | +==Installation== |
| 3 | +Download (http://phpazure.codeplex.com/) and extract the the "PHPAzure - |
| 4 | +Windows Azure SDK for PHP" by REALDOLMEN. |
| 5 | + |
| 6 | +Copy the WindowsAzureSDK extension to your <mediawiki>/extensions directory |
| 7 | +and add the following line to your LocalSettings.php: |
| 8 | + |
| 9 | +$wgWindowsAzureSDKRoot = '../path/to/phpazure'; |
| 10 | +include_once( "$IP/../extensions/WindowsAzureSDK/WindowsAzureSDK.php" ); |
| 11 | + |
| 12 | +Make sure the $wgWindowsAzureSDKRoot variable is defined before the include_once |
| 13 | +statement. |
\ No newline at end of file |