X-Git-Url: http://aleph1.co.uk/gitweb/?a=blobdiff_plain;f=vendor%2Fwebflo%2Fdrupal-finder%2FREADME.md;h=fd35fabcda790bc754e3bc41938d575d43ab9add;hb=9917807b03b64faf00f6a1f29dcb6eafc454efa5;hp=f508f916caecde71b49e9df84c125e7d1713d8a5;hpb=eba34333e3c89f208d2f72fa91351ad019a71583;p=yaffs-website diff --git a/vendor/webflo/drupal-finder/README.md b/vendor/webflo/drupal-finder/README.md index f508f916c..fd35fabcd 100644 --- a/vendor/webflo/drupal-finder/README.md +++ b/vendor/webflo/drupal-finder/README.md @@ -1,12 +1,12 @@ # Drupal Finder -[![Build Status](https://travis-ci.org/webflo/drupal-finder.svg?branch=master)](https://travis-ci.org/webflo/drupal-finder) +[![Travis](https://img.shields.io/travis/webflo/drupal-finder.svg)](https://travis-ci.org/webflo/drupal-finder) [![Packagist](https://img.shields.io/packagist/v/webflo/drupal-finder.svg)](https://packagist.org/packages/webflo/drupal-finder) Drupal Finder provides a class to locate a Drupal installation in a given path. ## Usage -``` +```PHP $drupalFinder = new \DrupalFinder\DrupalFinder(); if ($drupalFinder->locateRoot(getcwd())) { $drupalRoot = $drupalFinder->getDrupalRoot(); @@ -17,8 +17,8 @@ if ($drupalFinder->locateRoot(getcwd())) { ## Examples -- [Drupal Console Launcher](https://github.com/hechoendrupal/drupal-console-launcher/blob/master/bin/drupal.php) -- [Drush Shim](https://github.com/webflo/drush-shim) (with webflo/drupal-finder:^0.0.1) +- [Drupal Console Launcher](https://github.com/hechoendrupal/drupal-console-launcher) +- [Drush Launcher](https://github.com/drush-ops/drush-launcher) ## License