forceLogin(); $auth->startSession(); } else { $auth->startSession(); } //require_once('Cache/Lite/Output.php'); //$options = array( // 'cacheDir' => './cachefiles/', // 'lifeTime' => (12*60*60) //); //$cache = new Cache_Lite_Output($options); ////$cache_id = basename($_SERVER['PHP_SELF']); //$cache_id = $_SERVER['PHP_SELF']; ////$cache_id .= '#' . $_SERVER['HTTP_USER_AGENT']; //if (substr($auth->user['email'], -15) == '@mapdigital.com') //{ // $cache_id .= '#ismap'; //} //if ($site_expired) //{ // $cache_id .= '#expired'; //} //else if ($is_archive) //{ // $cache_id .= '#archived'; //} //if (!($cache->start($cache_id))) //{ $title = 'Welcome'; if ($conference_notyet) $contentfile = 'content-welcome-too-early.html'; else if ($conference_now) $contentfile = 'content-welcome.html'; else if ($conference_over) { if (! empty($site_expired) and ! $is_archive) { $contentfile = 'content-site-expired.html'; } else { $contentfile = 'content-welcome-too-late.html'; } } else $contentfile = 'content-welcome.html'; $custom_page_style = ''; $custom_head_file = 'head-welcome.inc'; include './makepage.html'; // $cache->end(); //} ?>