Besides the existence of Smarty.class.php (which is also arguable), how do we know that a php project is using smarty template framework just by looking at its file structure?
Besides the existence of Smarty.class.php (which is also arguable), how do we know that
Share
Usually well-structured projects will have a template and template_c folder – although the names can be configured/changed. Additionally look for .tpl files in these folders.
The best approach I can see is to grep for common smarty functions like fetch/assign/display or common smarty tags like {foreach}, {assign}, {if}, etc.