Ajout mode erreur
This commit is contained in:
parent
77a6f1d71d
commit
d39ee401a8
@ -516,9 +516,12 @@ function genereCacheIndiscore($version)
|
||||
|
||||
$strOutput=exec('php -l '.$fileIndiscoreTmp, $output);
|
||||
if (preg_match('/^No syntax errors detected in /', $strOutput)) {
|
||||
echo "Aucune erreur\n";
|
||||
//move($fileIndiscoreTmp, $fileIndiscore);
|
||||
//@sendMail('production@scores-decisions.com', 'ylenaour@scores-decisions.com', "Indiscore sur $siren : Compilation OK '$strOutput'", print_r($output, true)."\n");
|
||||
} else {
|
||||
echo "Erreur : $strOutput\n";
|
||||
print_r($output);
|
||||
//@sendMail('production@scores-decisions.com', 'ylenaour@scores-decisions.com', "Indiscore sur $siren : Erreur de compilation '$strOutput'", print_r($output, true)."\n");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user