diff options
author | Florian Pritz <bluewind@xinu.at> | 2011-08-11 16:12:51 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2011-08-15 11:30:05 +0200 |
commit | e502e0ce05d183bbf8237b94631d6e602d54b719 (patch) | |
tree | acadd85777f8992c0da6007fdd75748c1220659f /application | |
parent | b4e0acc50ce686cc57ca854dd319bb722d1d7f7d (diff) |
export sane $PATH
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application')
-rw-r--r-- | application/models/file_mod.php | 1 |
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 |