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 ----

View file

@ -322,7 +322,14 @@
"WebGUI::Workflow::Activity::TrashVersionTag", "WebGUI::Workflow::Activity::CreateCronJob",
"WebGUI::Workflow::Activity::UnlockVersionTag", "WebGUI::Workflow::Activity::NotifyAboutVersionTag",
"WebGUI::Workflow::Activity::RequestApprovalForVersionTag", "WebGUI::Workflow::Activity::ExportVersionTagAsHtml"]
}
},
# Enter the graphing plugins that you want to enable for your site.
"graphingPlugins" : [
"WebGUI::Image::Graph::Pie",
"WebGUI::Image::Graph::XYGraph::Bar",
"WebGUI::Image::Graph::XYGraph::Line"
];
}