diff options
Diffstat (limited to 'application/controllers')
-rw-r--r-- | application/controllers/file.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/application/controllers/file.php b/application/controllers/file.php index cb7889bac..9e920b9fa 100644 --- a/application/controllers/file.php +++ b/application/controllers/file.php @@ -305,7 +305,7 @@ class File extends MY_Controller { echo '<div class="code content table markdownrender">'."\n"; echo '<div class="table-row">'."\n"; echo '<div class="table-cell">'."\n"; - passthru('perl '.FCPATH.'scripts/Markdown.pl '.escapeshellarg($file), $return_value); + passthru(escapeshellarg(FCPATH.'scripts/Markdown.pl').' '.escapeshellarg($file), $return_value); echo '</div></div></div>'; return array( |