Skip to content
This repository was archived by the owner on Jan 13, 2022. It is now read-only.

Commit 5255187

Browse files
author
Dominic Bordelon
committed
add __DIR__ to require path
1 parent 8d72743 commit 5255187

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Upgrading from v4.x? Facebook PHP SDK v5.x introduced breaking changes. Please [
3030
Simple GET example of a user's profile.
3131

3232
```php
33-
require_once 'vendor/autoload.php'; // change path as needed
33+
require_once __DIR__.'vendor/autoload.php'; // change path as needed
3434

3535
$fb = new \Facebook\Facebook([
3636
'app_id' => '{app-id}',

0 commit comments

Comments
 (0)