move php path setting inside proc_run
This commit is contained in:
parent
fdc469ae4c
commit
755c2245e8
16 changed files with 25 additions and 67 deletions
|
@ -27,8 +27,7 @@ function poller_run($argv, $argc){
|
|||
|
||||
// run queue delivery process in the background
|
||||
|
||||
$php_path = ((x($a->config,'php_path') && strlen($a->config['php_path'])) ? $a->config['php_path'] : 'php');
|
||||
proc_run($php_path,"include/queue.php");
|
||||
proc_run('php',"include/queue.php");
|
||||
|
||||
// clear old cache
|
||||
q("DELETE FROM `cache` WHERE `updated`<'%s'",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue