projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a19ec1a
)
Destroy session when CLI script ends.
author
Jan Schneider
<jan@horde.org>
Fri, 14 Aug 2009 21:58:38 +0000
(23:58 +0200)
committer
Jan Schneider
<jan@horde.org>
Fri, 14 Aug 2009 21:58:38 +0000
(23:58 +0200)
framework/Cli/lib/Horde/Cli.php
patch
|
blob
|
history
diff --git
a/framework/Cli/lib/Horde/Cli.php
b/framework/Cli/lib/Horde/Cli.php
index
b1226d9
..
bdd8324
100644
(file)
--- a/
framework/Cli/lib/Horde/Cli.php
+++ b/
framework/Cli/lib/Horde/Cli.php
@@
-181,6
+181,8
@@
class Horde_Cli
$this->_blue_start = '<span style="color:blue">';
$this->_red_end = $this->_green_end = $this->_yellow_end = $this->_blue_end = '</span>';
}
+
+ register_shutdown_function('session_destroy');
}
/**