mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-03 18:04:26 +02:00
fix typo
This commit is contained in:
@@ -1212,7 +1212,7 @@ function get_db_template ($tpl_name, &$tpl_source, &$tpl_timestamp) {
|
||||
}
|
||||
|
||||
// register the resource name "db"
|
||||
$smarty->register_resource("db" => "get_db_template");
|
||||
$smarty->register_resource("db","get_db_template");
|
||||
|
||||
// using resource from php script
|
||||
$smarty->display("db:index.tpl");
|
||||
|
Reference in New Issue
Block a user