From 1cbd864897cd2fb3679398acd82009999bb5c387 Mon Sep 17 00:00:00 2001 From: mohrt Date: Fri, 26 Jan 2001 19:40:53 +0000 Subject: [PATCH] update BUGS and README files --- BUGS | 7 +++++-- README | 8 ++++---- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/BUGS b/BUGS index c39c6b52..6ff78653 100644 --- a/BUGS +++ b/BUGS @@ -3,8 +3,11 @@ cause problems with Smarty. preg_replace() had a parameter added in 4.0.2 that is needed for Smarty. preg_grep() previous to 4.0.4 has a bug which Smarty has a built-in workaround for. PHP 4.0.4 has a bug with user callbacks which would cause this syntax in Smarty to crash PHP: {$varname|@modname} Use PHP 4.0.4pl1 -to fix this, or avoid using the "@" with modifiers. To be absolutely safe, use -4.0.4pl or later with Smarty. +to fix this, or avoid using the "@" with modifiers. if you are passing variables +to {include} statements, you will need PHP 4.0.4 or later, which requires the +use of get_defined_vars() function. + +To be absolutely safe, use 4.0.4pl or later with Smarty. Also be sure to include the path to the PEAR libraries in your php include_path. Config_file.class.php uses the PEAR library for its error diff --git a/README b/README index a4673d57..db40e566 100644 --- a/README +++ b/README @@ -9,6 +9,10 @@ AUTHORS: Monte Ohrt Andrei Zmievski +MAILING LIST: + We have a mailing list for you to share your ideas or ask questions. + send a blank e-mail message to subscribe-smarty@lists.ispi.net + SYNOPSIS: require("Smarty.class.php"); @@ -48,10 +52,6 @@ DESCRIPTION: although not recommended and doubtfully needed since the engine is so customizable. -MAILING LIST: - We have a mailing list for you to share your ideas or ask questions. - send a blank e-mail message to subscribe-smarty@lists.ispi.net - COPYRIGHT: Copyright (c) 2001 ispi of Lincoln, Inc. All rights reserved. This software is released under the GNU General Public License.