diff options
author | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-07-15 11:06:34 +0000 |
---|---|---|
committer | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-07-15 11:06:34 +0000 |
commit | 0f358045ecba1b04a74c198514796fc1dda81d9e (patch) | |
tree | 61107a00caf3b572bab86dce7836cd6f814afdc8 /views/json | |
parent | 7bfe15a21379a4acef4b989e8bc07d4f556d9b27 (diff) | |
download | elgg-0f358045ecba1b04a74c198514796fc1dda81d9e.tar.gz elgg-0f358045ecba1b04a74c198514796fc1dda81d9e.tar.bz2 |
Closes #140
git-svn-id: https://code.elgg.org/elgg/trunk@1424 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/json')
-rw-r--r-- | views/json/messages/exceptions/exception.php | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/views/json/messages/exceptions/exception.php b/views/json/messages/exceptions/exception.php new file mode 100644 index 000000000..a11bd7f7b --- /dev/null +++ b/views/json/messages/exceptions/exception.php @@ -0,0 +1,20 @@ +<?php + /** + * Elgg exception + * Displays a single exception + * + * @package Elgg + * @subpackage Core + * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2 + * @author Marcus Povey + * @copyright Curverider Ltd 2008 + * @link http://elgg.org/ + * + * @uses $vars['object'] An exception + */ + + $export = $vars['object']; + + + echo json_encode("$export"); +?>
\ No newline at end of file |