Subversion-Projekte lars-tiefland.em_wm

Revision

Revision 132 | Ganze Datei anzeigen | Leerzeichen ignorieren | Details | Blame | Letzte Änderung | Log anzeigen | RSS feed

Revision 132 Revision 133
Zeile 2... Zeile 2...
2
    require ( "include/common.php" );
2
    require ( "include/common.php" );
3
    //	$smarty->caching = true;
3
    //	$smarty->caching = true;
4
    $smarty->cache_lifetime = 86400;
4
    $smarty->cache_lifetime = 86400;
5
    $start = intval( isset($_POST["start"]) ? $_POST["start"] : 0 );
5
    $start = intval( isset($_POST["start"]) ? $_POST["start"] : 0 );
6
    define( "CACHE_ID", $u_loc . "|" . $start );
6
    define( "CACHE_ID", $u_loc . "|" . $start );
7
    if ( !$smarty->is_cached("index.tpl", CACHE_ID) )
7
    if ( !$smarty->iscached("index.tpl", CACHE_ID) )
8
    {
8
    {
9
        $game_l = Spiele::listSpiele( 0, 0 );
9
        $game_l = Spiele::listSpiele( 0, 0 );
10
        if ( $error )
10
        if ( $error )
11
        {
11
        {
12
            $smarty->assign( "error", $error );
12
            $smarty->assign( "error", $error );