Skip to content

Commit a742768

Browse files
authored
Adding a line to the Tracy activation code sample (#991)
A complete Tracy novice will easily miss the mention of the require 'vendor/autoload.php' line, which is hidden in a block of text in the current version of the documentation, while it is a mandatory line for proper activation of Tracy.
1 parent e12151d commit a742768

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tracy/cs/guide.texy

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,11 @@ Můžete si také stáhnout celý balíček jako soubor [tracy.phar |https://git
3434
Použití
3535
=======
3636

37-
*Laděnku* aktivujeme snadno. Stačí přidat do kódu, nejlépe hned za načtení knihovny (např. `require 'vendor/autoload.php'`) a dříve než se odešle jakýkoliv výstup, následující:
37+
*Laděnku* aktivujeme snadno. Stačí přidat do kódu, nejlépe hned za načtení knihovny a dříve než se odešle jakýkoliv výstup, následující řádky:
3838

3939
```php
40+
require 'vendor/autoload.php;
41+
4042
use Tracy\Debugger;
4143

4244
Debugger::enable();

0 commit comments

Comments
 (0)