Update init.php
This commit is contained in:
parent
fe61dc1823
commit
b509b059f1
1 changed files with 2 additions and 0 deletions
|
@ -24,6 +24,8 @@ class Updater extends Plugin {
|
||||||
// __FILE__ is in plugins/updater so we need to go one level up
|
// __FILE__ is in plugins/updater so we need to go one level up
|
||||||
$work_dir = dirname(dirname(dirname(__FILE__)));
|
$work_dir = dirname(dirname(dirname(__FILE__)));
|
||||||
$parent_dir = dirname($work_dir);
|
$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();
|
$log = array();
|
||||||
if (!is_array($params)) $params = array();
|
if (!is_array($params)) $params = array();
|
||||||
|
|
Loading…
Reference in a new issue