From: Jan Schneider Date: Mon, 17 Aug 2009 14:34:14 +0000 (+0200) Subject: Add explanation. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=7137a9dd9b8e7ae0e483014b23e144425cbde30f;p=horde.git Add explanation. --- diff --git a/framework/Cli/lib/Horde/Cli.php b/framework/Cli/lib/Horde/Cli.php index 470a96a36..4a9c861c1 100644 --- a/framework/Cli/lib/Horde/Cli.php +++ b/framework/Cli/lib/Horde/Cli.php @@ -182,6 +182,8 @@ class Horde_Cli $this->_red_end = $this->_green_end = $this->_yellow_end = $this->_blue_end = ''; } + // We really want to call this at the end of the script, not in the + // destructor. register_shutdown_function(array($this, '_shutdown')); }