r108737 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r108736‎ | r108737 | r108738 >
Date:17:53, 12 January 2012
Author:mglaser
Status:ok
Tags:
Comment:
* Follow up r108465: fixed register globals vulnerability. Removed SDK path configuration as it now comes with the extension.
* Adjusted installation instructions
Modified paths:
  • /trunk/extensions/WindowsAzureSDK/README.txt (modified) (history)
  • /trunk/extensions/WindowsAzureSDK/WindowsAzureSDK.php (modified) (history)

Diff [purge]

Index: trunk/extensions/WindowsAzureSDK/WindowsAzureSDK.php
@@ -36,5 +36,5 @@
3737 $wgExtensionMessagesFiles['WindowsAzureSDK'] = $dir . 'WindowsAzureSDK.i18n.php';
3838
3939 if(!class_exists('Microsoft_WindowsAzure_Diagnostics_Manager')) {
40 - require_once( $wgWindowsAzureSDKRoot.'/library/Microsoft/AutoLoader.php' );
 40+ require_once( $dir.'lib/PHPAzure/library/Microsoft/AutoLoader.php' );
4141 }
\ No newline at end of file
Index: trunk/extensions/WindowsAzureSDK/README.txt
@@ -1,12 +1,12 @@
 2+==General==
 3+You can use the WindowsAzureSDK extension for MediaWiki to register the SDK with
 4+your environment. All classes from the "PHPAzure - Windows Azure SDK for
 5+PHP" by REALDOLMEN are bundled with this extension.
 6+
 7+You can find the orginal sources at http://phpazure.codeplex.com/
 8+
29 ==Installation==
3 -Download (http://phpazure.codeplex.com/) and extract the the "PHPAzure -
4 -Windows Azure SDK for PHP" by REALDOLMEN.
5 -
610 Copy the WindowsAzureSDK extension to your <mediawiki>/extensions directory
711 and add the following line to your LocalSettings.php:
812
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
 13+include_once( "$IP/../extensions/WindowsAzureSDK/WindowsAzureSDK.php" );
\ No newline at end of file

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r108465Added installation instructions...mglaser19:41, 9 January 2012

Status & tagging log