summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--system/core/Output.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/core/Output.php b/system/core/Output.php
index 27a3a4bb0..0b708e110 100644
--- a/system/core/Output.php
+++ b/system/core/Output.php
@@ -214,7 +214,7 @@ class CI_Output {
global $BM, $CFG;
// Grab the super object if we can.
- if (function_exists('get_instance'))
+ if (class_exists('CI_Controller'))
{
$CI =& get_instance();
}