Skip to content
Snippets Groups Projects
Commit 9c8d6e29 authored by xurizaemon's avatar xurizaemon
Browse files

CRM-17177. die() instead of trigger_error() when accessed via web.

parent 6d8b05bb
Branches
Tags
No related merge requests found
......@@ -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.");
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment