1
1
Fork 0

move php path setting inside proc_run

This commit is contained in:
Friendika 2011-02-23 15:16:12 -08:00
commit 755c2245e8
16 changed files with 25 additions and 67 deletions

View file

@ -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'",