-
This is a numbered list.
-
I'm going to include a fenced code block as part of this bullet:
Code More Code
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1) First you need to generate download token. Login to your account on magento.com and generate it in Account Settings->Downloads Access Token | |
2) You will need your MAGEID as well. It is shown at the top-left in your account page. | |
3) curl -k https://MAGEID:TOKEN@www.magentocommerce.com/products/downloads/info/help | |
4) Profit! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Return the path of the auth.json file. | |
*/ | |
function findAuthJson() { | |
// Windows sets HOMEDRIVE and HOMEPATH, but cygwin sets HOME. | |
if (!isset($_SERVER["HOME"]) && isset($_SERVER["HOMEDRIVE"])) { |