projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f074c12
)
Use Horde_Cli::fatal as default exception handler.
author
Jan Schneider
<jan@horde.org>
Wed, 11 Aug 2010 21:22:57 +0000
(23:22 +0200)
committer
Jan Schneider
<jan@horde.org>
Thu, 12 Aug 2010 15:34:49 +0000
(17:34 +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
f37d7ce
..
bdf203f
100644
(file)
--- a/
framework/Cli/lib/Horde/Cli.php
+++ b/
framework/Cli/lib/Horde/Cli.php
@@
-439,6
+439,7
@@
class Horde_Cli
@set_time_limit(0);
ob_implicit_flush(true);
ini_set('html_errors', false);
+ set_exception_handler(array($cli, 'fatal'));
$_SERVER['HTTP_HOST'] = '127.0.0.1';
$_SERVER['SERVER_NAME'] = '127.0.0.1';
$_SERVER['SERVER_PORT'] = '';