From: Ben Klang Date: Sun, 10 Jan 2010 19:57:32 +0000 (-0500) Subject: Operator: Mute warnings coming from Image_Graph X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=a4a067a941ce6937a880a815d4551120766fedc2;p=horde.git Operator: Mute warnings coming from Image_Graph --- 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');