smarty.class.php; array-handling
| From: | Werner Hülsmeier | Date: | Fri, 24 Aug 2001 10:54:52 +0000 |
| Subject: | smarty.class.php; array-handling | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-1380@lists.php.net to get a copy of this message | ||
I placed the compiler in a subdirectory of my include directory.
Doing this I found the following:
In the file 'smarty.class.php' an include is not
prepended by the 'SMARTY_DIR'-constant.
So
"include_once 'Config_File.class.php';"
should be replaced with:
"include_once SMARTY_DIR.'Config_File.class.php';"
================================
Smarty-sections don't work with pure assosiative arrays.
At least as far as I know.
Is this intended or is it possible to make Smarty work
with them as well?
cheers
Werner