Navigation Menu

Skip to content

Commit

Permalink
updated composer installer
Browse files Browse the repository at this point in the history
  • Loading branch information
dxprog committed Jul 19, 2016
1 parent 9ff7d55 commit a825546
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions composer-install.php
@@ -1,10 +1,10 @@
<?php

$installer = file_get_contents('https://getcomposer.org/installer');
if (hash('SHA384', $installer) === '070854512ef404f16bac87071a6db9fd9721da1684cd4589b1196c3faf71b9a2682e2311b36a5079825e155ac7ce150d') {
if (hash('SHA384', $installer) === 'e115a8dc7871f15d853148a7fbac7da27d6c0030b848d9b3dc09e2a0388afed865e6a3d6b3c0fad45c48e2b5fc1196ae') {
echo 'Installer verified';
$installer = str_replace(array('<?php', '?>'), '', $installer);
eval($installer);
} else {
echo 'Installer corrupt';
echo 'Installer corrupt', PHP_EOL;
}

0 comments on commit a825546

Please sign in to comment.