-
-
Notifications
You must be signed in to change notification settings - Fork 234
Description
I'm currently running an older version that allows including files outside of the theme, but going over newer commits I see that it was patched as a security bug that stops you from going outside your theme to find files.
Usually I would have one theme that is common and than all my other themes would load partials from it
Which could include forms, content, or simple html elements that are exactly the same on ~20 websites.
Out of all partials, I only have one that has php in it via onStart().
To test it, you can create new empty theme and try to load a partial from a demo theme
{% partial '../../demo/partials/calcresult' %}
I have also tried using ~/themes/, etc
I do understand security concern, but would be good if there was a way to disable it for the whole project.
One of the "workaround" I had in mind is to create a relative symlink in each theme, but was curious if there a better way to do it.