Exemple #1
0
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;
}
Exemple #2
0
function perso_page($tab)
{
    $uid = $_GET["uid"];
    return BuildCacheTab($tab);
}