X-Git-Url: https://yaffs.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=vendor%2Fdrush%2Fdrush%2Fdrush.php;h=2d079e1fa2af65ba3c7d0ac7850c32c6c6a0481b;hb=4e1bfbf98b844da83b18aca92ef00f11a4735806;hp=f7053d11e5d2eff9c84f20811ae24cb6fa1decff;hpb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;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);