Changeset 423 for trunk/jabberit_messenger/inc/jabberit_acl.inc.php
- Timestamp:
- 09/12/08 16:53:27 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/jabberit_messenger/inc/jabberit_acl.inc.php
r417 r423 17 17 $apps = unserialize($GLOBALS['phpgw_info']['server']['apps_jabberit']); 18 18 $flag = false; 19 20 foreach($apps as $tmp)19 20 if( is_array($apps) ) 21 21 { 22 $app_enabled = substr($tmp,0,strpos($tmp,";")); 23 24 if( $GLOBALS['phpgw_info']['flags']['currentapp'] == $app_enabled ) 25 $flag = true; 26 } 22 foreach($apps as $tmp) 23 { 24 $app_enabled = substr($tmp,0,strpos($tmp,";")); 25 if( $GLOBALS['phpgw_info']['flags']['currentapp'] == $app_enabled ) 26 $flag = true; 27 } 28 } 27 29 28 30 if ( $GLOBALS['phpgw_info']['user']['acl'][$i]['appname'] == 'jabberit_messenger' && ( $flag || $GLOBALS['phpgw_info']['flags']['currentapp'] == 'jabberit_messenger' ))
Note: See TracChangeset
for help on using the changeset viewer.