Advertisement
Guest User

footer

a guest
Feb 10th, 2013
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. <?php
  2. /**
  3. * @package Tasty
  4. * @author YOOtheme http://www.yootheme.com
  5. * @copyright Copyright (C) YOOtheme GmbH
  6. * @license http://www.gnu.org/licenses/gpl.html GNU/GPL
  7. */
  8.  
  9. // get warp
  10. $warp = Warp::getInstance();
  11.  
  12. // get content from output buffer and set a slot for the template renderer
  13. $warp['template']->set('content', ob_get_clean());
  14.  
  15. // load main template file, located in /layouts/template.php
  16. echo $warp['template']->render('template');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement