Project

General

Profile

« Previous | Next » 

Revision 1935

Added by darkviper over 11 years ago

fixed headers_sent problem in /upgrade_script.php
fixed problem with output buffer in /search/search_modext.php

View differences:

branches/2.8.x/CHANGELOG
11 11
! = Update/Change
12 12
===============================================================================
13 13

  
14
24 Jul-2013 Build 1935 M.v.d.Decken(DarkViper)
15
# /upgrade_script.php fixed headers_sent problem
16
# /search/search_modext.php fixed problem with output buffer
14 17
22 Jul-2013 Build 1934 M.v.d.Decken(DarkViper)
15 18
! /account/signup added posibility for different mailto address
16 19
! /install/save.php modified internal comment
branches/2.8.x/wb/upgrade-script.php
20 20
 * 
21 21
 * 
22 22
 * @category     Core
23
 * @package      Core_package
23
 * @package      Core_service
24 24
 * @subpackage   upgrade-script
25 25
 * @author       Dietmar Wöllbrink <dietmar.woellbrink@websitebaker.org>
26 26
 * @author       Werner v.d.Decken <wkl@isteam.de>
......
341 341
//}
342 342

  
343 343
// delete remember key cookie if set
344
if (isset($_COOKIE['REMEMBER_KEY'])) {
344
if (isset($_COOKIE['REMEMBER_KEY']) && !headers_sent() ) {
345 345
	setcookie('REMEMBER_KEY', '', time() - 3600, '/');
346 346
}
347 347

  
......
355 355
// overwrite session array
356 356
$_SESSION = array();
357 357
// delete session cookie if set
358
if (isset($_COOKIE[session_name()])) {
358
if (isset($_COOKIE[session_name()]) && !headers_sent()) {
359 359
    setcookie(session_name(), '', time() - 42000, '/');
360 360
}
361 361
// delete the session itself
branches/2.8.x/wb/admin/interface/version.php
51 51

  
52 52
// check if defined to avoid errors during installation (redirect to admin panel fails if PHP error/warnings are enabled)
53 53
if(!defined('VERSION')) define('VERSION', '2.8.3');
54
if(!defined('REVISION')) define('REVISION', '1934');
54
if(!defined('REVISION')) define('REVISION', '1935');
55 55
if(!defined('SP')) define('SP', '');
branches/2.8.x/wb/search/search_modext.php
323 323
	);
324 324
	echo str_replace($vars, $values, $func_results_loop_string);
325 325
	if($func_enable_flush) { // ATTN: this will bypass output-filters and may break template-layout or -filters
326
		ob_flush();flush();
326
//		ob_flush();flush();
327 327
	}
328 328
	return true;
329 329
}

Also available in: Unified diff