Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- // 分类 block
- if (TPL::is_output('block/content_category.tpl.htm','home/explore')) // 第二个参数改成当前模板路径
- {
- $content_category = $this->model('module')->content_category();
- TPL::assign('content_category', $content_category);
- }
Add Comment
Please, Sign In to add comment