summaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'index.php')
-rw-r--r--index.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/index.php b/index.php
index df12a670e..f41ee5fc5 100644
--- a/index.php
+++ b/index.php
@@ -270,8 +270,8 @@ function _actual_exception_handler($e)
$message .="<p>More information can be found in syslog or by enabling display_errors.</p>";
}
- $heading = sprintf("Exception '%s' with message '%s' in %s:%d", get_class($e), $e->getMessage(), $e->getFile(), $e->getLine());
- error_log($heading."\n".$backtrace);
+ $log_heading = sprintf("Exception '%s' with message '%s' in %s:%d", get_class($e), $e->getMessage(), $e->getFile(), $e->getLine());
+ error_log($log_heading."\n".$backtrace);
$message = "$message";
include APPPATH."/errors/error_general.php";