Skip to content

Commit

Permalink
Use 'framework_path' over 'bootstrap_path'
Browse files Browse the repository at this point in the history
  • Loading branch information
BenConstable committed Oct 14, 2014
1 parent 877632f commit 275e0b6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ specify the path to the Laravel framework files like so:

```yaml
laravel_extension:
bootstrap_path: "/shared/laravel/install"
framework_path: "/shared/laravel/install"
```

You can specify either an absolute path (use leading slash), or a path relative
Expand All @@ -125,7 +125,7 @@ install location would be as follows:

```yaml
laravel_extension:
bootstrap_path: ".." # Read like vendor/../
framework_path: ".." # Read like vendor/../
```

##Usage
Expand Down
2 changes: 1 addition & 1 deletion src/PhpSpec/Laravel/Extension/LaravelExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ function ($c) use ($getBoostrapPath)
$config = $c->getParam('laravel_extension');

$bootstrapPath = $getBoostrapPath(
isset($config['bootstrap_path']) ? $config['bootstrap_path'] : null
isset($config['framework_path']) ? $config['framework_path'] : null
);

if (file_exists($bootstrapPath . '/autoload.php')) {
Expand Down

0 comments on commit 275e0b6

Please sign in to comment.