[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: setup/inc functions.inc.php,1.41.2.4,1.41.2.5
From: |
Mark A Peters <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: setup/inc functions.inc.php,1.41.2.4,1.41.2.5 |
Date: |
Mon, 12 Aug 2002 06:28:22 -0400 |
Update of /cvsroot/phpgroupware/setup/inc
In directory subversions:/tmp/cvs-serv7677/setup/inc
Modified Files:
Tag: Version-0_9_14-branch
functions.inc.php
Log Message:
New way of handling the DateTime problem. This is now part of setup/config.
Index: functions.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/setup/inc/functions.inc.php,v
retrieving revision 1.41.2.4
retrieving revision 1.41.2.5
diff -C2 -r1.41.2.4 -r1.41.2.5
*** functions.inc.php 7 Apr 2002 19:45:56 -0000 1.41.2.4
--- functions.inc.php 12 Aug 2002 10:28:20 -0000 1.41.2.5
***************
*** 212,215 ****
--- 212,239 ----
}
+ /*!
+ @function print_debug
+ @abstract print debug data only when debugging mode is turned
on.
+ @author jengo
+ @discussion This function is used to debugging data.
+ @syntax print_debug('message');
+ @example print_debug('this is some debugging data');
+ */
+ function print_debug($text='',$var='',$part='notused',$level='notused')
+ {
+ //if (isset($GLOBALS['debugme']) && $GLOBALS['debugme'] == 'on')
+ if (DEBUG_APP)
+ {
+ if ($var == '')
+ {
+ echo "debug: $text <br>\n";
+ }
+ else
+ {
+ echo "$text: $var<br>\n";
+ }
+ }
+ }
+
/* Include to check user authorization against the
password in ../header.inc.php to protect all of the setup
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: setup/inc functions.inc.php,1.41.2.4,1.41.2.5,
Mark A Peters <address@hidden> <=