Readme: 00-intro - use __DIR__
It is best practice to use `__DIR__` constant. Also it's used in `autoload.php` itself.pull/3902/head
parent
f10c714751
commit
0924318c17
|
@ -179,7 +179,7 @@ downloads. To use it, just add the following line to your code's bootstrap
|
||||||
process:
|
process:
|
||||||
|
|
||||||
```php
|
```php
|
||||||
require 'vendor/autoload.php';
|
require __DIR__ . '/vendor/autoload.php';
|
||||||
```
|
```
|
||||||
|
|
||||||
Woah! Now start using monolog! To keep learning more about Composer, keep
|
Woah! Now start using monolog! To keep learning more about Composer, keep
|
||||||
|
|
Loading…
Reference in New Issue