summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
authorChristopher Smith <chris@jalakai.co.uk>2014-02-26 01:12:33 +0000
committerChristopher Smith <chris@jalakai.co.uk>2014-02-26 01:12:33 +0000
commita049856df3f316114a9d936d830d5b6d419b11e6 (patch)
tree1d9cc553a835a9a15cf885478beea47e398fac62 /inc
parentf3283f02766b2a2730b81c5a5a0b0a6240af054c (diff)
downloadrpg-a049856df3f316114a9d936d830d5b6d419b11e6.tar.gz
rpg-a049856df3f316114a9d936d830d5b6d419b11e6.tar.bz2
revert back to trigger error
Diffstat (limited to 'inc')
-rw-r--r--inc/parserutils.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/parserutils.php b/inc/parserutils.php
index 1c628a766..c12732e88 100644
--- a/inc/parserutils.php
+++ b/inc/parserutils.php
@@ -665,7 +665,7 @@ function p_get_renderer($mode) {
}
// fallback failed, alert the world
- throw new Exception("Unable to resolve render class $rclass",E_USER_WARNING);
+ trigger_error("Unable to resolve render class $rclass",E_USER_WARNING);
msg("No renderer '$rname' found for mode '$mode'",-1);
return null;
}