From 682d48577ae6e0118a11e5e6134fdbbb6048456d Mon Sep 17 00:00:00 2001 From: xue <> Date: Wed, 8 Feb 2006 22:33:11 +0000 Subject: Updated application lifecycle and related tutorial description. --- framework/Log/TLogRouter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'framework/Log') diff --git a/framework/Log/TLogRouter.php b/framework/Log/TLogRouter.php index 06877f0f..5326b598 100644 --- a/framework/Log/TLogRouter.php +++ b/framework/Log/TLogRouter.php @@ -68,7 +68,7 @@ class TLogRouter extends TModule throw new TConfigurationException('logrouter_configfile_invalid',$this->_configFile); } $this->loadConfig($config); - $this->getApplication()->attachEventHandler('OnExitApplication',array($this,'collectLogs')); + $this->getApplication()->attachEventHandler('OnEndRequest',array($this,'collectLogs')); } /** -- cgit v1.2.3