Commit 72a8be3f authored by Antoine Beaupré's avatar Antoine Beaupré

fix error message when Image_graph is missing

Closes: #1212
parent cca8516e
......@@ -29,7 +29,7 @@
*/
@require_once("../class/config.php");
if ((@include_once 'Image/Graph.php') === FALSE) {
echo "<p class=\"error\">". _("Image_Graph not installed. use 'aptitude install php-pear' then 'pear --alldeps install Image_Graph-devel' to see the graph.")."</p>";
echo "<p class=\"error\">". _("Image_Graph not installed. use 'aptitude install php-pear' then 'pear install --alldeps Image_Graph-devel' to see the graph.")."</p>";
exit(0);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment