File tree Expand file tree Collapse file tree 3 files changed +26
-5
lines changed
Expand file tree Collapse file tree 3 files changed +26
-5
lines changed Original file line number Diff line number Diff line change 33<metadata >
44<id >ComposerExtension</id >
55<title >Composer</title >
6- <version >0.2.7 </version >
6+ <version >0.3.0 </version >
77<authors >Cory Fowler</authors >
88<licenseUrl >http://opensource.org/licenses/MIT</licenseUrl >
99<projectUrl >https://github.com/SyntaxC4-MSFT/ComposerExtension</projectUrl >
1010<requireLicenseAcceptance >false</requireLicenseAcceptance >
11- <description >An extension which brings Composer support to Azure Websites </description >
12- <iconUrl >https://github.com/composer/getcomposer.org/blob/master/web/img/logo-composer-transparent .png</iconUrl >
11+ <description >An extension which brings Composer support to Azure Web App </description >
12+ <iconUrl >https://github.com/composer/getcomposer.org/blob/master/web/img/logo-composer-transparent3 .png</iconUrl >
1313<tags >composer php packagemanager</tags >
1414</metadata >
1515<files >
Original file line number Diff line number Diff line change 99 </sites>
1010 </system.applicationHost>
1111 <system.webServer>
12- <runtime xdt:Transform="Insert" >
12+ <runtime xdt:Transform="Insert">
1313 <environmentVariables>
1414 <add name="APPSETTING_COMMAND" value="d:\home\SiteExtensions\ComposerExtension\Hooks\deploy.cmd" />
1515 <add name="COMPOSER_ARGS" value="--prefer-dist --no-dev --optimize-autoloader --no-progress" />
1616 <add name="PATH" value="%PATH%;d:\home\SiteExtensions\ComposerExtension\Commands;%APPDATA%\Composer\vendor\bin" />
1717 </environmentVariables>
1818 </runtime>
19- </system.webServer>
19+ <rewrite xdt:Transform="InsertIfMissing">
20+ <rules xdt:Transform="InsertIfMissing">
21+ <rule name="RequestBlockingRule1" xdt:Locator="Match(name)" xdt:Transform="InsertIfMissing" stopProcessing="true">
22+ <match url=".*" />
23+ <conditions>
24+ <add input="{URL}" pattern="vendor/(.*)$" />
25+ </conditions>
26+ <action type="CustomResponse" statusCode="403" statusReason="Forbidden: Access is denied." statusDescription="You do not have permission to view this directory or page using the credentials that you supplied." />
27+ </rule>
28+ </rules>
29+ </rewrite>
30+ </system.webServer>
2031</configuration>
32+
33+
Original file line number Diff line number Diff line change @@ -6,4 +6,12 @@ IF EXIST composer.phar (
66 rm -f composer.phar
77)
88
9+ IF NOT EXIST " %APPDATA% \Composer" (
10+ mkdir " %APPDATA% \Composer"
11+ )
12+
13+ IF NOT EXIST " %LOCALAPPDATA% \Composer" (
14+ mkdir " %LOCALAPPDATA% \Composer"
15+ )
16+
917php -r " readfile('https://getcomposer.org/installer');" | php
You can’t perform that action at this time.
0 commit comments