X-Git-Url: http://www.aleph1.co.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=vendor%2Fdrush%2Fdrush%2Fdrush.php;fp=vendor%2Fdrush%2Fdrush%2Fdrush.php;h=2d079e1fa2af65ba3c7d0ac7850c32c6c6a0481b;hb=af6d1fb995500ae68849458ee10d66abbdcfb252;hp=f7053d11e5d2eff9c84f20811ae24cb6fa1decff;hpb=680c79a86e3ed402f263faeac92e89fb6d9edcc0;p=yaffs-website diff --git a/vendor/drush/drush/drush.php b/vendor/drush/drush/drush.php index f7053d11e..2d079e1fa 100755 --- a/vendor/drush/drush/drush.php +++ b/vendor/drush/drush/drush.php @@ -1,12 +1,68 @@ -#!/usr/bin/env php setConfigFileVariant(Drush::getMajorVersion()); +$environment->setLoader($loader); +$environment->applyEnvironment(); + +// Preflight and run +$preflight = new Preflight($environment); +$runtime = new Runtime($preflight); +$status_code = $runtime->run($_SERVER['argv']); + +exit($status_code);