Project

General

Profile

« Previous | Next » 

Revision 106

Added by stefan about 19 years ago

Renamed compatibility.php to frontend.functions.php.
Moved frontend functions from class frontend to frontend.functions.php.
Removed instances of strip_slashes_dummy. Replaced $this by $wb in a couple of places.
Created file initialize.php, where all initializations now take place (moved from class wb constructor).

View differences:

logout.php
1 1
<?php
2 2

  
3
// $Id: logout.php,v 1.4 2005/04/16 01:12:40 rdjurovich Exp $
3
// $Id$
4 4

  
5 5
/*
6 6

  
......
25 25

  
26 26
require("../config.php");
27 27

  
28
// Start a session
29
if(!defined('SESSION_STARTED')) {
30
	session_name(APP_NAME.'_session_id');
31
	session_start();
32
	define('SESSION_STARTED', true);
33
}
34

  
35 28
$_SESSION['USER_ID'] = null;
36 29
$_SESSION['GROUP_ID'] = null;
37 30
$_SESSION['USERNAME'] = null;

Also available in: Unified diff