Hey, For a commercial project, the PHP files will be encoded with Ioncube. However, i want to place a copyright link back to my site using the smarty template engine which is where all the templates run off. The footer.tpl, i have placed {$copyright} which shows my link back. However, the admin can just remove that variable in the .tpl file. Ive tried using a file get contents at the start of each file and preg match it to find copyright, if not, die. It didn't manage to work for me. Can anyone suggest a solution to my problem? Thanks.
I would just do $smarty->display in the php file then after it in the php use an if statement to see if the license key allows copyright removal, if it does remove it else make it show.