summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@server-speed.net>2011-04-23 21:04:38 +0200
committerFlorian Pritz <bluewind@server-speed.net>2011-04-23 21:04:38 +0200
commit31a7f85f661c9744c658c81c74c4da9d8c748b7b (patch)
tree79f5f99051187eacaa69ac640f0f6d989937e3c8
parent4655a707ced755069f7661c733b6246b33e8b92a (diff)
add pl->perl alias
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
-rw-r--r--application/models/file_mod.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/application/models/file_mod.php b/application/models/file_mod.php
index 62c613ebe..8291168b9 100644
--- a/application/models/file_mod.php
+++ b/application/models/file_mod.php
@@ -407,7 +407,8 @@ class File_mod extends CI_Model {
if ($alias === false) return false;
$aliasarray = array(
'py' => 'python',
- 'sh' => 'bash'
+ 'sh' => 'bash',
+ 'pl' => 'perl'
);
if (array_key_exists($alias, $aliasarray)) return $aliasarray[$alias];