From b136cbb2b332971e375b0cbb46a0d9a3c2ae34e3 Mon Sep 17 00:00:00 2001 From: Jon Sowman Date: Fri, 30 Jul 2010 01:13:28 -0700 Subject: [PATCH] added at_log --- predict/includes/functions.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/predict/includes/functions.inc.php b/predict/includes/functions.inc.php index 3f083a5..33578ee 100644 --- a/predict/includes/functions.inc.php +++ b/predict/includes/functions.inc.php @@ -89,7 +89,7 @@ function runPred($pred_model) { ." -p1 -f5 -t ".$pred_model['timestamp'] ." --lat=".$predictor_lat." --lon=".$predictor_lon." " . $use_hd . $pred_model['uuid']; - if (DEBUG) shell_exec("echo " . $sh . " > /tmp/pred_log"); + if (DEBUG) shell_exec("echo " . $sh . " > " . AT_LOG); fwrite($ph, "cd /var/www/hab/predict/ && " . $sh ); fclose($ph);