From a4a067a941ce6937a880a815d4551120766fedc2 Mon Sep 17 00:00:00 2001 From: Ben Klang Date: Sun, 10 Jan 2010 14:57:32 -0500 Subject: [PATCH] Operator: Mute warnings coming from Image_Graph --- operator/graphgen.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/operator/graphgen.php b/operator/graphgen.php index bbf5a88bd..9004bd550 100644 --- a/operator/graphgen.php +++ b/operator/graphgen.php @@ -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'); -- 2.11.0