Adding the graphing plugins to the config file

This commit is contained in:
Martin Kamerbeek 2006-05-01 08:56:21 +00:00
parent 0f6d8e57de
commit dfef678b06
2 changed files with 16 additions and 1 deletions

View file

@ -1142,6 +1142,14 @@ GRAPH4
# Update Poll table.
$session->db->write('alter table Poll add column graphConfiguration text');
$session->db->write('alter table Poll add column generateGraph tinyint(1)');
# Add plugins to the config file
$session->config->set('graphingPlugins', [
"WebGUI::Image::Graph::XYGraph::Bar",
"WebGUI::Image::Graph::XYGraph::Line",
"WebGUI::Image::Graph::Pie",
]);
}
# ---- DO NOT EDIT BELOW THIS LINE ----