Working with resource plugins

From: Date: Fri, 01 Nov 2002 12:13:46 +0000
Subject: Working with resource plugins
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-6301@lists.php.net to get a copy of this message
Hi, I want to register a resource plugin. I put the example from http://www.phpinsider.com/php/code/Smarty/docs/plugins.resources.html in ..plugins/resource.db.php Then I copied http://www.phpinsider.com/php/code/Smarty/docs/api.register.resource.html in my application. I get: Fatal error: Smarty plugin error: resource 'db' is not implemented in /vol/www/mydomain/htdocs/3rd/smarty/Smarty.class.php on line 1982 I changed register_resource to: $smarty->register_resource("db", array("db_source", "db_timestamp", "db_secure", "db_trusted")); .. and some other function-names. It does not work. What's wrong? Thanx Dorthe

« previous php.smarty.general (#6301) next »