Project

General

Profile

« Previous | Next » 

Revision 1794

Added by Dietmar about 12 years ago

! upgrade-script: system_permission changes for group Administrators
will be change in $_SESSION['SYSTEM_PERMISSIONS'], if you are logged in as user_id == 1

View differences:

branches/2.8.x/CHANGELOG
13 13

  
14 14

  
15 15

  
16
24 Oct-2012 Build 1794 Dietmar Woellbrink (Luisehahne)
17
! upgrade-script: system_permission changes for group Administrators 
18
  will be change in $_SESSION['SYSTEM_PERMISSIONS'], if you are logged in as user_id == 1
16 19
24 Oct-2012 Build 1793 Dietmar Woellbrink (Luisehahne)
17 20
+ add missing warning icon
18 21
24 Oct-2012 Build 1792 Dietmar Woellbrink (Luisehahne)
branches/2.8.x/wb/upgrade-script.php
757 757
	$sql .= '`template_permissions` = \''.$sTemplatePermissions.'\' ';
758 758
	$sql .= 'WHERE `group_id` = \'1\' ';
759 759
    $aDebugMessage[] = ($database->query($sql)) ? " $OK<br />" : " $FAIL!<br />";
760
    if( ($admin->is_authenticated() == true) && ($admin->get_user_id()=='1') ) {
761
        $_SESSION['SYSTEM_PERMISSIONS'] = array_merge($_SESSION['SYSTEM_PERMISSIONS'], explode(',', $sSystemPermissions));
762
    }
760 763

  
761 764
    if($bDebugModus) {
762 765
        echo implode(PHP_EOL,$aDebugMessage);
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', '1793');
54
if(!defined('REVISION')) define('REVISION', '1794');
55 55
if(!defined('SP')) define('SP', '');

Also available in: Unified diff