diff --git a/application/controllers/JuridiqueController.php b/application/controllers/JuridiqueController.php index 68600f952..f609ba750 100644 --- a/application/controllers/JuridiqueController.php +++ b/application/controllers/JuridiqueController.php @@ -361,7 +361,7 @@ class JuridiqueController extends Zend_Controller_Action //Le fichier n'existe pas alors on le télécharger if(!file_exists($directory.'/'.$file) || filesize($directory.'/'.$file)==0 ) { - exec(APPLICATION_PATH . '/../scripts/jobs/getMarque.php '.$numdepot); + exec('php' . APPLICATION_PATH . '/../scripts/jobs/getMarque.php '.$numdepot); } //On vérfie que le fichier existe après le téléchargement if(file_exists($directory.'/'.$file) && filesize($directory.'/'.$file)>0) { @@ -395,7 +395,7 @@ class JuridiqueController extends Zend_Controller_Action 'BODACC_'.$type.'_'.$annee.'_'.$num.'.pdf'; if ( !file_exists($file) ) { - exec('php '.APPLICATION_PATH . "/../scripts/jobs/getBodaccPdf.php $type $annee $num >> getBodaccPdf.log"); + exec('php ' . APPLICATION_PATH . "/../scripts/jobs/getBodaccPdf.php $type $annee $num >> getBodaccPdf.log"); } if (file_exists($file)) { diff --git a/application/views/default/scripts/juridique/marques.phtml b/application/views/default/scripts/juridique/marques.phtml index 5efebd094..df12e6961 100644 --- a/application/views/default/scripts/juridique/marques.phtml +++ b/application/views/default/scripts/juridique/marques.phtml @@ -22,8 +22,11 @@