projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d8b05b
)
CRM-17177. die() instead of trigger_error() when accessed via web.
author
Chris Burgess
<chris@giantrobot.co.nz>
Sun, 8 Nov 2015 09:49:54 +0000
(22:49 +1300)
committer
Chris Burgess
<chris@giantrobot.co.nz>
Sun, 8 Nov 2015 09:49:54 +0000
(22:49 +1300)
bin/cli.class.php
patch
|
blob
|
blame
|
history
diff --git
a/bin/cli.class.php
b/bin/cli.class.php
index 5340869a1cae97b5884b674c25b97c59cc3648fa..1a2b8cab6c7829e508e3b40c7eed4608b9f7cdc1 100644
(file)
--- a/
bin/cli.class.php
+++ b/
bin/cli.class.php
@@
-88,7
+88,7
@@
class civicrm_cli {
return TRUE;
}
else {
-
trigger_error("cli.php can only be run from command line.", E_USER_ERROR
);
+
die("cli.php can only be run from command line."
);
}
}