function run(&$filter_chain, &$request, &$response)
 {
     debug::add_timing_point('session startup filter started');
     require_once LIMB_DIR . '/core/lib/session/session.class.php';
     start_user_session();
     debug::add_timing_point('session startup filter finished');
     $filter_chain->next();
 }
<?php	
/**********************************************************************************
* Copyright 2004 BIT, Ltd. http://www.0x00.ru, mailto: bit@0x00.ru
*
* Released under the LGPL license (http://www.gnu.org/copyleft/lesser.html)
***********************************************************************************
*
* $Id$
*
***********************************************************************************/

require_once(LIMB_DIR . 'core/lib/session/session.class.php');
require_once(LIMB_DIR . 'core/model/chat/chat_system.class.php');

start_user_session();

if(!$_REQUEST['id'])
	exit();

$file = chat_system :: get_chat_file($_REQUEST['id']);

if (!$file)
{
	header("HTTP/1.1 404 Not found");
}
else
{
	header("Pragma: public");
	header("Cache-Control: private");
	header("Date: " . date("D, d M Y H:i:s") . " GMT");
	header("Content-type: {$file['mime_type']}");
 function _inititiliaze_user_session()
 {
     require_once LIMB_DIR . 'core/lib/session/session.class.php';
     start_user_session();
 }
Exemple #4
0
    it under the terms of the GNU Affero General Public License as
    published by the Free Software Foundation, either version 3 of the
    License, or (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU Affero General Public License for more details.

    You should have received a copy of the GNU Affero General Public License
    along with this program.  If not, see http://www.gnu.org/licenses/.
-->
<?php 
require_once 'backend.php';
// this starts the session
start_user_session($assemblervars);
$time = time();
$sessionID = getSessionId();
?>

<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="utf-8" />
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta name="viewport" content="width=device-width, initial-scale=1">

	<title>e-NABLE Hand-o-matic</title>

	<!--[if IE]> <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script> <![endif]-->
	<!-- Latest compiled and minified CSS -->