[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] phpgwapi/inc class.Template.inc.php
From: |
Dave Hall |
Subject: |
[Phpgroupware-cvs] phpgwapi/inc class.Template.inc.php |
Date: |
Mon, 25 Sep 2006 06:28:32 +0000 |
CVSROOT: /cvsroot/phpgwapi
Module name: phpgwapi
Changes by: Dave Hall <skwashd> 06/09/25 06:28:32
Modified files:
inc : class.Template.inc.php
Log message:
use error handler
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/phpgwapi/inc/class.Template.inc.php?cvsroot=phpgwapi&r1=1.42&r2=1.43
Patches:
Index: class.Template.inc.php
===================================================================
RCS file: /cvsroot/phpgwapi/phpgwapi/inc/class.Template.inc.php,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -b -r1.42 -r1.43
--- class.Template.inc.php 3 Sep 2006 11:14:42 -0000 1.42
+++ class.Template.inc.php 25 Sep 2006 06:28:32 -0000 1.43
@@ -8,7 +8,7 @@
* @license http://www.fsf.org/licenses/lgpl.html GNU Lesser General Public
License
* @package phpgwapi
* @subpackage gui
- * @version $Id: class.Template.inc.php,v 1.42 2006/09/03 11:14:42 skwashd Exp
$
+ * @version $Id: class.Template.inc.php,v 1.43 2006/09/25 06:28:32 skwashd Exp
$
* @internal Based on phplib
*
*/
@@ -993,8 +993,10 @@
* @return void
* @see halt
*/
- function haltmsg($msg) {
- printf("<b>Template Error:</b> %s<br>\n", $msg);
+ function haltmsg($msg)
+ {
+ $msg = str_replace(PHPGW_SERVER_ROOT, '/path/to/phpgroupware',
$msg);
+ trigger_error("Template Error: {$msg}", E_USER_ERROR);
}
/**
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] phpgwapi/inc class.Template.inc.php,
Dave Hall <=