summaryrefslogtreecommitdiffstats
path: root/application/controllers/file.php
diff options
context:
space:
mode:
Diffstat (limited to 'application/controllers/file.php')
-rw-r--r--application/controllers/file.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/application/controllers/file.php b/application/controllers/file.php
index 83204c318..8b08bdea8 100644
--- a/application/controllers/file.php
+++ b/application/controllers/file.php
@@ -252,7 +252,6 @@ class File extends MY_Controller {
} else {
// TODO: use exec safe and catch exception
$ret = (new \libraries\ProcRunner(array('pygmentize', '-F', 'codetagify', '-O', 'encoding=guess,outencoding=utf8,stripnl=False', '-l', $lexer, '-f', 'html', $file)))
- ->forbid_stderr()
->exec();
// Last 2 items are "</pre></div>" and ""
$lines_to_remove = 2;