Fix: MAIN_GRAPH_LIBRARY n'tait plus dtermin par dfaut

This commit is contained in:
Regis Houssin 2007-10-28 09:00:32 +00:00
parent c278baeff9
commit d2081c22cf

View File

@ -445,7 +445,7 @@ class Conf
}
// Defini MAIN_GRAPH_LIBRARY
if (!isset($this->global->MAIN_GRAPH_LIBRARY) && ! in_array($this->global->MAIN_GRAPH_LIBRARY, array('phplot','artichow')))
if (!isset($this->global->MAIN_GRAPH_LIBRARY) || ! in_array($this->global->MAIN_GRAPH_LIBRARY, array('phplot','artichow')))
{
$this->global->MAIN_GRAPH_LIBRARY='phplot';
// $this->global->MAIN_GRAPH_LIBRARY = 'artichow';