error404(); break; } /* Reload page if : * - cache disabled * - page cache not build or expired * - submit site form : do not cache it ! */ $excludeFromCache = array('basic','premium','contact','boost','confirmation','recherche', 'allopass'); if(!($CONFIG['use_smartycache'] && $smarty->is_cached($template,$cache_id)) || in_array($do,$excludeFromCache)) { if(in_array($do,$excludeFromCache)) { $smarty->caching = 0; } include('include/'.$include); $title = getTitle($template, $cache_id); $smarty->assign("meta_title",$title); // Some information about the directory displaySummary($racine); // top keywords topKeywords(); // Categories displayCats($start, $racine); // boost site displayBoostSite(); // TagCloud displayTagCloud(); } // disconnection from database include('disconnect.php'); // Launching page display $smarty->display($template, $cache_id); // Closing database connection Database::closeInstance(); ?>