Update code examples to use Smarty\Smarty and autoload instead of require_once calls and new Smarty

This commit is contained in:
Simon Wisselink
2023-02-06 15:18:47 +01:00
parent cf84802072
commit 7a323b7345
21 changed files with 44 additions and 28 deletions

View File

@@ -25,7 +25,7 @@ plugin types.
<?php
use Smarty\Smarty;
$smarty = new Smarty();
$smarty->registerDefaultPluginHandler('my_plugin_handler');