What function can I use in PHP for class Smarty which reads a variable's value from the Smarty's config file?
Here's my code:
<?
session_start();
require('libs/Smarty.class.php');
$smarty = new Smarty;
$smarty->config_load("settings.conf");
include('settings.php');
include('meta.php');
$smarty->debugging = false;
$smarty->caching =false;
$smarty->cache_lifetime = 120;
include("categories.php");
include("manufacturers.php");
include("logos.php");
print_r($smarty->getConfigVariable("showCategories"));
close_database_session($dbconn);
//$smarty->display('index.tpl');
?>