We have a plugin for a PHP script with Smarty template engine,
It can be used in template files with {plugin_name} but that requires making sure this is on every single template file, the question is:
is there a way to auto-load this plugin whenever the scripts loads?
Script is not open source, but Smarty and it's files (such as Smarty.class.php etc) are not encrypted.
Edit
All I need to do is to auto-load a Smarty Plugin (which has small interaction with database) before template files load, is this possible/achievable with Smarty files only? (script itself in encrypted, but Smarty_Compiler.class.php, Smarty.class.php, Config_File.class.php, and other smarty core functions are open source)
0 comments:
Post a Comment