Use php executable

This commit is contained in:
Michael RICOIS 2012-12-20 13:02:56 +00:00
parent e1951a6468
commit 250e5c9819

View File

@ -66,5 +66,5 @@ $result = $commandesM->fetchAll($sql);
if (count($result)>0) {
$info = $result->current();
echo "Lancement enrichissement $info->id\n";
exec(realpath(dirname(__FILE__))."/enrichissement.php --id ".$info->id." &");
exec('php '.realpath(dirname(__FILE__))."/enrichissement.php --id ".$info->id." &");
}