Skip to content

Commit f306eb8

Browse files
authored
Update README.md
1 parent b90a03d commit f306eb8

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
@@ -25,7 +25,7 @@ $translate = new GTranslator("en", "/assets/flags/");
2525
Or with icon path
2626
```php
2727
use Peterujah\NanoBlock\GTranslator;
28-
$translate = new GTranslator(substr(($_SERVER['HTTP_ACCEPT_LANGUAGE']??"en"), 0, 2));
28+
$translate = new GTranslator("en", 0, 2));
2929
```
3030

3131
set selector design provider, you can choose between `DEFAULT`, `SELECT` or `BOOTSTRAP.`

0 commit comments

Comments
 (0)