Project

General

Profile

« Previous | Next » 

Revision 636

Added by thorn almost 17 years ago

fixed WARNING-message about possibly not defined constant

View differences:

trunk/wb/framework/initialize.php
77 77
		session_start();
78 78
		define('SESSION_STARTED', true);
79 79
	}
80
	if(ENABLED_ASP && !isset($_SESSION['session_started']))
80
	if(defined('ENABLED_ASP') && ENABLED_ASP && !isset($_SESSION['session_started']))
81 81
		$_SESSION['session_started'] = time();
82 82

  
83

  
84 83
	// Get users language
85 84
	if(isset($_GET['lang']) AND $_GET['lang'] != '' AND !is_numeric($_GET['lang']) AND strlen($_GET['lang']) == 2) {
86 85
	  	define('LANGUAGE', strtoupper($_GET['lang']));

Also available in: Unified diff