function perso_page($tab) { $uid = $_SESSION["uid"]; $page = CurrentPageName(); $ini = new Bs_IniHandler("ressources/profiles/{$uid}.tabs"); $cache_tab_file = "ressources/profiles/{$uid}.{$tab}"; if (!is_file($cache_tab_file)) { BuildCacheTab($tab); } header("location: {$page}?fill-tab={$tab}"); return; }
function perso_page($tab) { $uid = $_GET["uid"]; return BuildCacheTab($tab); }