Views/Rendering Variable Issues? |
(10-12-2016, 12:55 PM)cartalot Wrote:(10-11-2016, 09:35 PM)kilishan Wrote: Since this goes against the way people are used to using it, this might be a good prospect for a config setting, too... It's already been added. https://github.com/bcit-ci/CodeIgniter4/...4c9c4e3f5f I agree though, in a template engine, it would be trivial to set saveData to true every time the template engine is called, but I do understand (and agree) with why the default behavior was changed (data leaking, etc), but it's a problem for templates with multiple view() calls. I don't know this is a "best way to build a modern PHP 7 framework" decision though, it more comes down to best practices and security interpretation IMO. Regardless of how this issue settles out, the core team is giving us the options we need to use it and it's appreciated. |
Messages In This Thread |
Views/Rendering Variable Issues? - by enlivenapp - 10-11-2016, 11:18 AM
RE: Views/Rendering Variable Issues? - by kilishan - 10-11-2016, 12:44 PM
RE: Views/Rendering Variable Issues? - by enlivenapp - 10-11-2016, 01:00 PM
RE: Views/Rendering Variable Issues? - by kilishan - 10-11-2016, 09:35 PM
RE: Views/Rendering Variable Issues? - by enlivenapp - 10-12-2016, 08:53 AM
RE: Views/Rendering Variable Issues? - by cartalot - 10-12-2016, 12:55 PM
RE: Views/Rendering Variable Issues? - by enlivenapp - 10-12-2016, 01:11 PM
RE: Views/Rendering Variable Issues? - by cartalot - 10-12-2016, 03:28 PM
RE: Views/Rendering Variable Issues? - by sv3tli0 - 10-11-2016, 11:09 PM
|