diff options
author | Andrew Dolgov <[email protected]> | 2013-07-10 09:33:39 -0700 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-07-10 09:33:39 -0700 |
commit | 32732aba260c703eaf1f75a274bd54ac504512cd (patch) | |
tree | 7e20d24a32f808e39a6cc0662551ce017914b475 /plugins/updater/init.php | |
parent | fe61dc18233a46f521bbf4884fc25f3e78e1c684 (diff) | |
parent | b509b059f13550e3ac52410d332e0041aa506f20 (diff) |
Merge pull request #258 from andryyy/patch-2
Update init.php
Diffstat (limited to 'plugins/updater/init.php')
-rw-r--r-- | plugins/updater/init.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/updater/init.php b/plugins/updater/init.php index fa283c8be..69d9b08b2 100644 --- a/plugins/updater/init.php +++ b/plugins/updater/init.php @@ -24,6 +24,8 @@ class Updater extends Plugin { // __FILE__ is in plugins/updater so we need to go one level up $work_dir = dirname(dirname(dirname(__FILE__))); $parent_dir = dirname($work_dir); + // Set PATH to run "which" + putenv('PATH="$PATH:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin"'); $log = array(); if (!is_array($params)) $params = array(); |