|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
gawan Smarty Rookie
Joined: 29 Apr 2003 Posts: 9
|
Posted: Mon Sep 12, 2005 1:54 pm Post subject: request_use_auto_globals with register_globals = off |
|
|
I changed to a newer php version with php.ini register_globals set to Off (was previosly set On). Now I wonder if I should set smarty's $request_use_auto_globals = false? But this setting advises to use true when using $_XXX type of request variables (which I do now with register_globals Off in php.ini).
So I am a little confused? How does this smarty setting relate to php.ini register_globals?
TIA, gawan |
|
Back to top |
|
mohrt Administrator
Joined: 16 Apr 2003 Posts: 7368 Location: Lincoln Nebraska, USA
|
Posted: Mon Sep 12, 2005 3:14 pm Post subject: |
|
|
Just leave it set to true, use the $_* super globals. This setting is for very old PHP versions which do not support super globals. |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|