예제 #1
0
 function AtmailGlobal()
 {
     $this->Global_Base();
     global $pref;
     // Adjust memory limit
     if (!$this->isset_chk($pref['memory_limit']) || $pref['memory_limit'] < 96) {
         $pref['memory_limit'] = 96;
     }
     ini_set('memory_limit', "{$pref['memory_limit']}M");
     // Adjust max message size
     if (!$this->isset_chk($pref['max_msg_size'])) {
         $pref['max_msg_size'] = '16';
     }
     // Max exectuion time, increase, for slow responding POP3/IMAP servers
     ini_set('max_execution_time', "180");
     AtmailGlobal::do_branding();
 }