mirror of
https://github.com/smarty-php/smarty.git
synced 2025-10-08 10:20:16 +02:00
Update code examples to use Smarty\Smarty and autoload instead of require_once calls and new Smarty
This commit is contained in:
@@ -12,7 +12,7 @@ resource.
|
||||
|
||||
|
||||
<?php
|
||||
|
||||
use Smarty\Smarty;
|
||||
$smarty = new Smarty();
|
||||
$smarty->default_config_handler_func = 'my_default_config_handler_func';
|
||||
|
||||
|
Reference in New Issue
Block a user