summaryrefslogtreecommitdiffstats
path: root/application/models
diff options
context:
space:
mode:
Diffstat (limited to 'application/models')
-rw-r--r--application/models/file_mod.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/application/models/file_mod.php b/application/models/file_mod.php
index cd9351e74..ee759b18f 100644
--- a/application/models/file_mod.php
+++ b/application/models/file_mod.php
@@ -304,7 +304,7 @@ class File_mod extends CI_Model {
echo '</pre></td><td class="code">'."\n";
$this->load->library('geshi');
$this->geshi->initialize(array('set_language' => $mode, 'set_source' => file_get_contents($file), 'enable_classes' => 'true'));
- echo $this->geshi->output();
+ echo $this->geshi->parse_code();
}
$cached = ob_get_contents();
ob_end_clean();