Add explanation.
authorJan Schneider <jan@horde.org>
Mon, 17 Aug 2009 14:34:14 +0000 (16:34 +0200)
committerJan Schneider <jan@horde.org>
Mon, 17 Aug 2009 14:34:14 +0000 (16:34 +0200)
framework/Cli/lib/Horde/Cli.php

index 470a96a..4a9c861 100644 (file)
@@ -182,6 +182,8 @@ class Horde_Cli
             $this->_red_end = $this->_green_end = $this->_yellow_end = $this->_blue_end = '</span>';
         }
 
+        // We really want to call this at the end of the script, not in the
+        // destructor.
         register_shutdown_function(array($this, '_shutdown'));
     }