From 61b1b4134fb3c5537ac8b00aff62afc80cd4f7e5 Mon Sep 17 00:00:00 2001 From: messju Date: Fri, 11 Apr 2003 22:55:59 +0000 Subject: [PATCH] add (FA)Q: I get "SAFE MODE Restriction in effect. ..."-errors when running smarty. --- FAQ | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/FAQ b/FAQ index 484018da..1860678e 100644 --- a/FAQ +++ b/FAQ @@ -35,6 +35,7 @@ Q: I'm running Windows 2000 and I get blank content. My compiled PHP files are Q: The template goes into an infinite loop when I include included templates that pass local variables Q: Javascript is causing Smarty errors in my templates. +Q: I get "SAFE MODE Restriction in effect. ..."-errors when running smarty. MISC @@ -206,6 +207,9 @@ A: This was fixed in 1.3.2 (new global attribute) Q: Javascript is causing Smarty errors in my templates. A: Surround your javascript with {literal}{/literal} tags. See the docs. +Q: I get "SAFE MODE Restriction in effect. ..."-errors when running smarty. +A: Use $smarty->use_sub_dirs = false when running php in safe mode. + MISC ----