Fixed invalid classname in example in docs.

This commit is contained in:
Simon Wisselink
2023-09-13 22:15:06 +02:00
parent 9b9660881d
commit 7a58ca2517

View File

@ -167,7 +167,7 @@ class My_GuestBook extends Smarty {
Now, we can use `My_GuestBook` instead of `Smarty` in our scripts:
```php
<?php
$smarty = new Smarty_GuestBook();
$smarty = new My_GuestBook();
$smarty->assign('name', 'Ned');
$smarty->display('index.tpl');
```