mirror of
https://github.com/smarty-php/smarty.git
synced 2025-07-29 15:37:14 +02:00
Fixed invalid classname in example in docs.
This commit is contained in:
@ -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');
|
||||
```
|
||||
|
Reference in New Issue
Block a user