[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] phpgwapi/inc class.log.inc.php,1.6.4.2,1.6.4.3
From: |
Chris Weiss <address@hidden> |
Subject: |
[Phpgroupware-cvs] phpgwapi/inc class.log.inc.php,1.6.4.2,1.6.4.3 |
Date: |
Mon, 20 Oct 2003 14:02:47 +0000 |
Update of /cvsroot/phpgroupware/phpgwapi/inc
In directory subversions:/tmp/cvs-serv16692/phpgwapi/inc
Modified Files:
Tag: Version-0_9_16-branch
class.log.inc.php
Log Message:
fixed default prefs
Index: class.log.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/inc/class.log.inc.php,v
retrieving revision 1.6.4.2
retrieving revision 1.6.4.3
diff -C2 -d -r1.6.4.2 -r1.6.4.3
*** class.log.inc.php 19 Oct 2003 01:34:02 -0000 1.6.4.2
--- class.log.inc.php 20 Oct 2003 14:02:41 -0000 1.6.4.3
***************
*** 60,63 ****
--- 60,74 ----
);
+ function checkprefs()
+ {
+ //validate defaults
+ if
(!isset($GLOBALS['phpgw_info']['server']['log_levels']))
+ {
+
$GLOBALS['phpgw_info']['server']['log_levels']['global_level'] = 'E';
+
$GLOBALS['phpgw_info']['server']['log_levels']['module'] = array();
+
$GLOBALS['phpgw_info']['server']['log_levels']['user'] = array();
+ }
+ }
+
function get_level_name($level)
{
***************
*** 65,70 ****
}
! function is_level($level) {
!
if (
$this->log_level_table[$GLOBALS['phpgw_info']['server']['log_levels']['global_level']]
>= $this->log_level_table[$level] ) {
return true;
--- 76,82 ----
}
! function is_level($level)
! {
! $this->checkprefs();
if (
$this->log_level_table[$GLOBALS['phpgw_info']['server']['log_levels']['global_level']]
>= $this->log_level_table[$level] ) {
return true;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] phpgwapi/inc class.log.inc.php,1.6.4.2,1.6.4.3,
Chris Weiss <address@hidden> <=
- Prev by Date:
[Phpgroupware-cvs] phpgwapi/inc class.log_message.inc.php, NONE, 1.1.2.1 log_functions.inc.php, NONE, 1.1.2.1
- Next by Date:
[Phpgroupware-cvs] phpgwapi/setup setup.inc.php, 1.37.2.6.2.13, 1.37.2.6.2.14 tables_update.inc.php, 1.53.2.9.2.20, 1.53.2.9.2.21
- Previous by thread:
[Phpgroupware-cvs] phpgwapi/inc class.log_message.inc.php, NONE, 1.1.2.1 log_functions.inc.php, NONE, 1.1.2.1
- Next by thread:
[Phpgroupware-cvs] phpgwapi/setup setup.inc.php, 1.37.2.6.2.13, 1.37.2.6.2.14 tables_update.inc.php, 1.53.2.9.2.20, 1.53.2.9.2.21
- Index(es):