Skip to content

Commit 053b738

Browse files
committed
Add manual example on includes
Just had a student burn a whole bunch of time - turns out he was using `include('Mailchimp.php');` which worked locally, but we needed `include('./Mailchimp.php');` on his server. Hopefully this helps someone in the future!
1 parent e7162c9 commit 053b738

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,12 @@ You will then need to:
2222
* run ``composer install`` to get these dependencies added to your vendor directory
2323
* add the autoloader to your application with this line: ``require("vendor/autoload.php")``
2424

25-
Alternatively you can just download the MailChimp.php file and include it manually.
25+
Alternatively you can just download the MailChimp.php file and include it manually:
26+
27+
```php
28+
include('./Mailchimp.php');
29+
```
30+
2631

2732
Examples
2833
--------

0 commit comments

Comments
 (0)