Operator: Mute warnings coming from Image_Graph
authorBen Klang <ben@alkaloid.net>
Sun, 10 Jan 2010 19:57:32 +0000 (14:57 -0500)
committerBen Klang <ben@alkaloid.net>
Sun, 10 Jan 2010 19:57:32 +0000 (14:57 -0500)
operator/graphgen.php

index bbf5a88..9004bd5 100644 (file)
@@ -13,6 +13,10 @@ require_once dirname(__FILE__) . '/lib/Application.php';
 $operator = new Operator_Application(array('init' => true));
 $cache = &$GLOBALS['cache'];
 
+// Work around warnings in Image_Graph
+error_reporting(E_NONE);
+ini_set("display_errors", 0);
+
 #setlocale(LC_ALL, Horde_Nls::select());
 #setlocale(LC_ALL, 'en_US');