Smarty::$default_resource_type not working

From: Date: Wed, 23 Mar 2005 22:37:47 +0000
Subject: Smarty::$default_resource_type not working
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-12360@lists.php.net to get a copy of this message
Hello, After I got Smarty to work with a mysql resource (called db, its a direct cut and paste out of the documentation with some slight changes (formatting and table/column names). However, when I set the $default_resource_type to 'db' so I do not have to type db: in front of every template, it does not work. No error is given, it just won't work. {include file="header"} just outputs nothing. Even {foreach} won't parse correctly. If I use flat-files or add 'db:' to everything, it works. Here's some URLs: Script in question: http://pymo.improvisemedia.com/test.php Source: http://pymo.improvisemedia.com/test.phps Templates: http://pymo.improvisemedia.com/test_show.php Signed, James Logsdon

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