From 3fcf847e0cadfb9ede930f538c2f277483442175 Mon Sep 17 00:00:00 2001 From: xue <> Date: Sat, 21 Jan 2006 17:29:40 +0000 Subject: BE AWARE: Significant change! Changed event definition from XXX to OnXXX. --- framework/Log/TLogRouter.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'framework/Log') diff --git a/framework/Log/TLogRouter.php b/framework/Log/TLogRouter.php index 6979849f..3292c4d3 100644 --- a/framework/Log/TLogRouter.php +++ b/framework/Log/TLogRouter.php @@ -68,8 +68,8 @@ class TLogRouter extends TModule throw new TConfigurationException('logrouter_configfile_invalid',$this->_configFile); } $this->loadConfig($config); - //$this->getApplication()->attachEventHandler('Error',array($this,'collectLogs')); - $this->getApplication()->attachEventHandler('EndRequest',array($this,'collectLogs')); + //$this->getApplication()->attachEventHandler('OnError',array($this,'collectLogs')); + $this->getApplication()->attachEventHandler('OnEndRequest',array($this,'collectLogs')); } /** -- cgit v1.2.3