I get .tpl file which has %% variables in it.
Example:
%%GLOBAL_Error%%
Is this twig template engine? I want to check if variable is not empty but i can’t do this with regular twig syntax.
{% if GLOBAL_Error is defined %}
How can I do this?
Link for twig…
http://twig.sensiolabs.org/doc/tags/if.html
This isn’t twig.
I suppose that is smarty
By take a fast look to documentation, i suppose that
%is use for escape the%itself, so%%GLOBAL_Error%%will be%GLOBAL_Error%