diff options
author | Andrey Andreev <narf@bofh.bg> | 2012-07-23 17:01:57 +0200 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2012-07-23 17:01:57 +0200 |
commit | e3b5f8f6a0edcf5589cfb4b1a18991021922ef9e (patch) | |
tree | 39a6916120e0900529a88a394a1ed8d4cb15e279 /system | |
parent | 3c13522ebf4e27094ea5947df16b304cd79bd818 (diff) | |
parent | 1288fe36214e0c8a22edec16da209081930e17c9 (diff) |
Merge pull request #1647 from vlakoff/page-cache
output->_display_cache() optimization
Diffstat (limited to 'system')
-rw-r--r-- | system/core/Output.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/core/Output.php b/system/core/Output.php index 5ec8c4bc0..2bf4e998f 100644 --- a/system/core/Output.php +++ b/system/core/Output.php @@ -575,7 +575,7 @@ class CI_Output { } // Display the cache - $this->_display(str_replace($match[0], '', $cache)); + $this->_display(substr($cache, strlen($match[0]))); log_message('debug', 'Cache file is current. Sending it to browser.'); return TRUE; } |