0
你好,我有这个脚本在智者包括在智者的模板PHP脚本
http://codecanyon.net/item/viral-lock-php-like-google1-or-tweet-to-unlock/1632879
如何轻松完成包括哪些?
我已经试过这样:
{php}
// inclusion directe d'un script PHP depuis le template.
include('/viral-lock.class.php');
include('/example.php');
{/php}
的,什么是错误?它在纯PHP中工作吗?你怎么了? – 2014-11-03 11:33:58
提醒我永远不要去你的网站上... – 2014-11-03 12:12:52
试试这个: {include_php file ='/ path/to/load_nav.php'} 但是可以不推荐使用。取决于你的smarty的版本。请点击此处:http://www.smarty.net/docsv2/en/language.function.include.php.tpl – StudioArena 2014-11-03 12:32:04