[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] phpgwapi/inc functions.inc.php
From: |
Sigurd Nes |
Subject: |
[Phpgroupware-cvs] phpgwapi/inc functions.inc.php |
Date: |
Wed, 07 Feb 2007 12:17:28 +0000 |
CVSROOT: /sources/phpgwapi
Module name: phpgwapi
Changes by: Sigurd Nes <sigurdne> 07/02/07 12:17:28
Modified files:
inc : functions.inc.php
Log message:
Making phpgw_handle_error optional
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/phpgwapi/inc/functions.inc.php?cvsroot=phpgwapi&r1=1.213&r2=1.214
Patches:
Index: functions.inc.php
===================================================================
RCS file: /sources/phpgwapi/phpgwapi/inc/functions.inc.php,v
retrieving revision 1.213
retrieving revision 1.214
diff -u -b -r1.213 -r1.214
--- functions.inc.php 7 Jan 2007 01:04:45 -0000 1.213
+++ functions.inc.php 7 Feb 2007 12:17:28 -0000 1.214
@@ -8,7 +8,7 @@
* @license http://www.fsf.org/licenses/lgpl.html GNU Lesser General
Public License
* @package phpgwapi
* @subpackage utilities
- * @version $Id: functions.inc.php,v 1.213 2007/01/07 01:04:45 skwashd
Exp $
+ * @version $Id: functions.inc.php,v 1.214 2007/02/07 12:17:28 sigurdne
Exp $
*/
@@ -285,7 +285,11 @@
//No default, we just ignore it, for now
}
}
+
+ if(isset($GLOBALS['phpgw_info']['server']['phpgw_handle_error']) &&
$GLOBALS['phpgw_info']['server']['phpgw_handle_error'])
+ {
set_error_handler('phpgw_handle_error');
+ }
function clean_vars($vars, $safe_redirect = True)
{
- [Phpgroupware-cvs] phpgwapi/inc functions.inc.php,
Sigurd Nes <=