Hello,

I wonder if what is the problem as my template document *.tpl is being hacked. The hacked document with variable {$something} inside is replaced by hacker own text. after being hacked, the coding inside *.tpl has a line break between each line (means a line is added after every lines of code).I wonder, either the smarty, web hosting, or the permission i gave to tpl and tpl directory has caused the problem?

Please help.

I didn't find the right solution from the Internet.

References:-
https://www.smarty.net/forums/viewtopic … 33b4c9c673
IT Security Explainer example

Thanks