Explorar o código

Readme: 00-intro - use __DIR__

It is best practice to use `__DIR__` constant. Also it's used in `autoload.php` itself.
Tomáš Votruba %!s(int64=10) %!d(string=hai) anos
pai
achega
0924318c17
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      doc/00-intro.md

+ 1 - 1
doc/00-intro.md

@@ -179,7 +179,7 @@ downloads. To use it, just add the following line to your code's bootstrap
 process:
 
 ```php
-require 'vendor/autoload.php';
+require __DIR__ . '/vendor/autoload.php';
 ```
 
 Woah! Now start using monolog! To keep learning more about Composer, keep