diff options
author | Florian Pritz <bluewind@xinu.at> | 2015-05-23 21:26:38 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2015-05-28 18:10:13 +0200 |
commit | 8c8098e47fc3fff3d8230d8e07b0ba3d737f0e86 (patch) | |
tree | 81e9dac92065887eaf324c0aeda3e82634c08990 /application/libraries/Pygments.php | |
parent | 130b0c708e5cba8f8bd5b1e4d760c2f48c22c71d (diff) |
Execute scripts directly
No need to specify the interpreter twice.
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/libraries/Pygments.php')
-rw-r--r-- | application/libraries/Pygments.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/application/libraries/Pygments.php b/application/libraries/Pygments.php index 0c536008d..588f78842 100644 --- a/application/libraries/Pygments.php +++ b/application/libraries/Pygments.php @@ -23,7 +23,7 @@ class Pygments { private static function get_pygments_info() { return cache_function_full('pygments_info-v2', 1800, function() { ob_start(); - passthru("python ".escapeshellarg(FCPATH."scripts/get_lexer_list.py")); + passthru(escapeshellarg(FCPATH."scripts/get_lexer_list.py")); $output = ob_get_clean(); return json_decode($output, true); |