https://www.mediawiki.org/wiki/Special:Code/MediaWiki/108737
Revision: 108737 Author: mglaser Date: 2012-01-12 17:53:30 +0000 (Thu, 12 Jan 2012) Log Message: ----------- * 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 trunk/extensions/WindowsAzureSDK/WindowsAzureSDK.php Modified: trunk/extensions/WindowsAzureSDK/README.txt =================================================================== --- trunk/extensions/WindowsAzureSDK/README.txt 2012-01-12 17:52:46 UTC (rev 108736) +++ trunk/extensions/WindowsAzureSDK/README.txt 2012-01-12 17:53:30 UTC (rev 108737) @@ -1,12 +1,12 @@ +==General== +You can use the WindowsAzureSDK extension for MediaWiki to register the SDK with +your environment. All classes from the "PHPAzure - Windows Azure SDK for +PHP" by REALDOLMEN are bundled with this extension. + +You can find the orginal sources at http://phpazure.codeplex.com/ + ==Installation== -Download (http://phpazure.codeplex.com/) and extract the the "PHPAzure - -Windows Azure SDK for PHP" by REALDOLMEN. - Copy the WindowsAzureSDK extension to your <mediawiki>/extensions directory and add the following line to your LocalSettings.php: -$wgWindowsAzureSDKRoot = '../path/to/phpazure'; -include_once( "$IP/../extensions/WindowsAzureSDK/WindowsAzureSDK.php" ); - -Make sure the $wgWindowsAzureSDKRoot variable is defined before the include_once -statement. \ No newline at end of file +include_once( "$IP/../extensions/WindowsAzureSDK/WindowsAzureSDK.php" ); \ No newline at end of file Modified: trunk/extensions/WindowsAzureSDK/WindowsAzureSDK.php =================================================================== --- trunk/extensions/WindowsAzureSDK/WindowsAzureSDK.php 2012-01-12 17:52:46 UTC (rev 108736) +++ trunk/extensions/WindowsAzureSDK/WindowsAzureSDK.php 2012-01-12 17:53:30 UTC (rev 108737) @@ -36,5 +36,5 @@ $wgExtensionMessagesFiles['WindowsAzureSDK'] = $dir . 'WindowsAzureSDK.i18n.php'; if(!class_exists('Microsoft_WindowsAzure_Diagnostics_Manager')) { - require_once( $wgWindowsAzureSDKRoot.'/library/Microsoft/AutoLoader.php' ); + require_once( $dir.'lib/PHPAzure/library/Microsoft/AutoLoader.php' ); } \ No newline at end of file _______________________________________________ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs