Skip to content
This repository has been archived by the owner on Jul 7, 2022. It is now read-only.

Commit

Permalink
correct path to composer when a dependency
Browse files Browse the repository at this point in the history
composer will install this repo as vendor/ad7six/dsn
  • Loading branch information
AD7six committed Feb 10, 2014
1 parent 715113b commit c33c478
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* Path trickery ensures test suite will always run, standalone or within
* another composer package. Designed to find composer autoloader and require
*/
$vendorPos = strpos(__DIR__, 'vendor/AD7six/dsn');
$vendorPos = strpos(__DIR__, 'vendor/ad7six/dsn');
if ($vendorPos !== false) {
// Package has been cloned within another composer package, resolve path to autoloader
$vendorDir = substr(__DIR__, 0, $vendorPos) . 'vendor/';
Expand Down

0 comments on commit c33c478

Please sign in to comment.