[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: phpbrain/inc class.bokb.inc.php,1.1.1.1,1.2
From: |
Dave Hall <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: phpbrain/inc class.bokb.inc.php,1.1.1.1,1.2 |
Date: |
Sun, 16 Mar 2003 17:28:20 -0500 |
Update of /cvsroot/phpgroupware/phpbrain/inc
In directory subversions:/tmp/cvs-serv311
Modified Files:
class.bokb.inc.php
Log Message:
Fixed is_admin test
Index: class.bokb.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpbrain/inc/class.bokb.inc.php,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -r1.1.1.1 -r1.2
*** class.bokb.inc.php 16 Mar 2003 15:25:18 -0000 1.1.1.1
--- class.bokb.inc.php 16 Mar 2003 22:28:14 -0000 1.2
***************
*** 84,92 ****
}
! $config_vals = $config->read_repository();
!
! //soon i will add the values and add the info here -
casting etc
! return array('anon_user' => 11,
! 'allow_tags'=> False);
}//end get_config
--- 84,90 ----
}
! $config->read_repository();
! return $config->config_data;
!
}//end get_config
***************
*** 168,172 ****
function is_admin()
{
! return $GLOBALS['phpgw']->acl->check('run', 1, 'admin');
}//end is_admin
--- 166,171 ----
function is_admin()
{
! return
isset($GLOBALS['phpgw_info']['user']['apps']['admin']);
! //return $GLOBALS['phpgw']->acl->check('run', 1,
'admin');
}//end is_admin
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: phpbrain/inc class.bokb.inc.php,1.1.1.1,1.2,
Dave Hall <address@hidden> <=