From cee9b141a3db95bc779c7efbd56497761fd7b9c5 Mon Sep 17 00:00:00 2001 From: mohrt Date: Fri, 18 May 2001 13:16:15 +0000 Subject: [PATCH] fix typo --- docs.sgml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs.sgml b/docs.sgml index 8c30813d..f1b0ddcd 100644 --- a/docs.sgml +++ b/docs.sgml @@ -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");