Namespaced constant
char101 opened this issue · 1 comments
char101 commented
Hi,
Please add support for namespaced constant so that we can access constant in other namespace in the template like
{if %mynamespace\CONSTANT}It works{/if}
I have tested that it works by changing the const regex from
'#^%([a-z0-9_:]+)#i'
to
'#^%([\a-z0-9_:]+)#i'
Thanks.
Seldaek commented
Done, sorry for the delay..