Exemplo n.º 1
-1
 function __construct(User $user, $params = null)
 {
     ini_set('memory_limit', '128M');
     global $globals;
     ModerationBanana::$client = $params['client'];
     ModerationBanana::$listname = $params['listname'];
     ModerationBanana::$domain = isset($params['domain']) ? $params['domain'] : $globals->mail->domain;
     $params['group'] = ModerationBanana::$listname . '@' . ModerationBanana::$domain;
     Banana::$spool_root = $globals->spoolroot . '/spool/banana/';
     Banana::$spool_boxlist = false;
     Banana::$msgshow_withthread = false;
     Banana::$withtabs = false;
     Banana::$msgshow_externalimages = false;
     Banana::$msgshow_mimeparts[] = 'source';
     Banana::$feed_active = false;
     Banana::$debug_smarty = $globals->debug & DEBUG_SMARTY;
     array_push(Banana::$msgparse_headers, 'x-org-id', 'x-org-mail');
     parent::__construct($params, 'MLInterface', 'ModerationPage');
 }