From 5bf3ddfcf66ece4b50d5fccfd90c49005ce768ce Mon Sep 17 00:00:00 2001 From: friendica Date: Mon, 12 Nov 2012 20:59:18 -0800 Subject: got zot --- boot.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'boot.php') diff --git a/boot.php b/boot.php index 707545155..68bdadc95 100644 --- a/boot.php +++ b/boot.php @@ -1604,7 +1604,7 @@ if(! function_exists('proc_run')) { return; if(count($args) && $args[0] === 'php') - $args[0] = ((x($a->config,'php_path')) && (strlen($a->config['php_path'])) ? $a->config['php_path'] : 'php'); + $args[0] = ((x($a->config,'system')) && (x($a->config['system'],'php_path')) && (strlen($a->config['system']['php_path'])) ? $a->config['system']['php_path'] : 'php'); for($x = 0; $x < count($args); $x ++) $args[$x] = escapeshellarg($args[$x]); -- cgit v1.2.3