Plus besoin de test sur type, on prend celui de la constante

This commit is contained in:
Laurent Destailleur 2006-12-06 18:09:35 +00:00
parent f452b8ab20
commit fda5b39e25

View File

@ -169,14 +169,6 @@ if ($_GET["id"] || $_GET["ref"])
$px->SetShading(5);
//print 'x '.$key.' '.$graphfiles[$key]['file'];
// Pour orders, on force la lib graphique sur artichow
// \todo A supprimer car on peut switcher entre artichow et phplot par la
// constante MAIN_GRAPH_LIBRARY qui peut valoir ('artichow' ou 'phplot')
if ($key == 'orders')
{
$px->library = 'artichow';
}
$px->draw($dir."/".$graphfiles[$key]['file']);
}
else