mirror of
https://github.com/smarty-php/smarty.git
synced 2025-10-18 23:15:21 +02:00
Update code examples to use Smarty\Smarty and autoload instead of require_once calls and new Smarty
This commit is contained in:
@@ -25,7 +25,7 @@ plugin types.
|
||||
|
||||
|
||||
<?php
|
||||
|
||||
use Smarty\Smarty;
|
||||
$smarty = new Smarty();
|
||||
$smarty->registerDefaultPluginHandler('my_plugin_handler');
|
||||
|
||||
|
Reference in New Issue
Block a user