Users running a non-download version of Vanilla (pulled from github), on branch release/2019.016 or master from the last 2 weeks should upgrade to release/2019.017 or latest master for security reasons. Downloaded official open sources releases are not affected.
Please upgrade here. These earlier versions are no longer being updated and have security issues.

Get Smarty Variable in PHP

Hey,

I'm new to Smarty and Vanilla. I'm trying to get the current path in my template themehooks and store it in a php variable.

I found the smarty variable {$Path} which is basicly what I need. But how can I assign this in PHP to a var in my base_render_before function?

Or is there another function available to get that path easier?

Thanks

Tim

Tagged:

Comments

Sign In or Register to comment.