aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engine/lib/elgglib.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/elgglib.php b/engine/lib/elgglib.php
index e9ae8b0ad..a6de0bc67 100644
--- a/engine/lib/elgglib.php
+++ b/engine/lib/elgglib.php
@@ -23,7 +23,7 @@ function _elgg_autoload($class) {
global $CONFIG;
if (!isset($CONFIG->classes[$class]) || !include($CONFIG->classes[$class])) {
- throw new Exception("Failed to autoload $class");
+ return false;
}
}