예제 #1
0
파일: imap.class.php 프로젝트: Git-Host/sms
 public static function i($connection = '')
 {
     if (!isset(self::$instance)) {
         list($host, $email, $password) = explode('~', $connection);
         debug::output("Starting Connection to {$email} ({$host})");
         self::$instance = new imap();
         self::$instance->connect($host, $email, $password);
     }
     return self::$instance;
 }