summaryrefslogtreecommitdiffstats
path: root/application/models/file_mod.php
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2011-08-11 16:12:51 +0200
committerFlorian Pritz <bluewind@xinu.at>2011-08-15 11:30:05 +0200
commite502e0ce05d183bbf8237b94631d6e602d54b719 (patch)
treeacadd85777f8992c0da6007fdd75748c1220659f /application/models/file_mod.php
parentb4e0acc50ce686cc57ca854dd319bb722d1d7f7d (diff)
export sane $PATH
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/models/file_mod.php')
-rw-r--r--application/models/file_mod.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/application/models/file_mod.php b/application/models/file_mod.php
index a1ad73b92..15bab0c4d 100644
--- a/application/models/file_mod.php
+++ b/application/models/file_mod.php
@@ -12,6 +12,7 @@ class File_mod extends CI_Model {
function __construct()
{
parent::__construct();
+ putenv("PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin");
}
// Returns an unused ID