From 5044c68bddf439fed74261c9a883c317404f16f4 Mon Sep 17 00:00:00 2001 From: mohrt Date: Fri, 26 Jan 2001 19:35:15 +0000 Subject: [PATCH] updated FAQ --- FAQ | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/FAQ b/FAQ index f5d5a1ac..eed69c70 100644 --- a/FAQ +++ b/FAQ @@ -51,3 +51,8 @@ A: Smarty uses the PEAR libraries for some of its error handling routines. these libraries is included in your php include_path. Unix users check /usr/local/lib/php. Windows users check C:/php/pear. +Q: I get this error when passing variables to {include}: + Fatal error: Call to undefined function: get_defined_vars() in + /path/to/Smarty/templates_c/index.tpl.php on line 8 +A: get_defined_vars() was added to PHP 4.0.4. If you plan on passing + variables to included templates, you will need PHP 4.0.4 or later.