summaryrefslogtreecommitdiffstats
path: root/application
diff options
context:
space:
mode:
Diffstat (limited to 'application')
-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