Smarty 3 and {php} (General)
INCLUDE_PHP was deprecated in Smarty, and I had the same issue. Try this:
Put this near the bottom of index.php
## Your code $navbar = file_get_contents($_SERVER['DOCUMENT_ROOT'].'/public/includes/navbar.inc'); $smarty -> assign ('navbar', $navbar); ## Existing code $smarty->display($theme.'/'.$template); ?>
Then stick
{$navbar}
in the tpl file(s).