summaryrefslogtreecommitdiffstats
path: root/system/core/Output.php
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2012-06-07 13:35:27 +0200
committerAndrey Andreev <narf@bofh.bg>2012-06-07 13:35:27 +0200
commitc839d28f4230dce0c658338f267b821cc16490a2 (patch)
tree8b2905d1594c5fd90c621abff97bb1ff1cda33d1 /system/core/Output.php
parent2ba089ef2e8b0a569b80c822337a6f6f3e928df0 (diff)
Remove some unnecessary function_exists() checks and some minor improvements
Diffstat (limited to 'system/core/Output.php')
-rwxr-xr-xsystem/core/Output.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/core/Output.php b/system/core/Output.php
index 0bf982289..5588ffe8e 100755
--- a/system/core/Output.php
+++ b/system/core/Output.php
@@ -370,7 +370,7 @@ class CI_Output {
if ($this->parse_exec_vars === TRUE)
{
- $memory = function_exists('memory_get_usage') ? round(memory_get_usage()/1024/1024, 2).'MB' : '0';
+ $memory = round(memory_get_usage() / 1024 / 1024, 2).'MB';
$output = str_replace(array('{elapsed_time}', '{memory_usage}'), array($elapsed, $memory), $output);
}