Project

General

Profile

« Previous | Next » 

Revision 531

Added by doc almost 17 years ago

Fixed error with redirection to admin panel after installation due to already defined constant VERSION (redirection fails if PHP errors/warnings are displayed).

View differences:

trunk/CHANGELOG
11 11
! = Update/Change
12 12

  
13 13
------------------------------------- 2.7.0 -------------------------------------
14
13-Jan-2008 Christian Sommer
15
#	fixed error with redirection to admin panel after installation
16

  
14 17
12-Jan-2008 Christian Sommer
15 18
!	introduced smart URL detection for the 'View' menu in the WB backend
16 19
	(if page_id is set, redirect to this page instead of the root)
trunk/wb/admin/interface/version.php
36 36
	exit(0);
37 37
}
38 38

  
39
define('VERSION', '2.6.7');
39
// check if defined to avoid errors during installation (redirect to admin panel fails if PHP error/warnings are enabled)
40
if(!defined('VERSION')) define('VERSION', '2.7');
40 41

  
41 42
?>

Also available in: Unified diff