⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.50
Server IP:
41.128.143.86
Server:
Linux host.raqmix.cloud 6.8.0-1025-azure #30~22.04.1-Ubuntu SMP Wed Mar 12 15:28:20 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.3.23
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
psa-horde
/
imp
/
lib
/
Factory
/
View File Name :
MailAutoconfig.php
* @category Horde * @copyright 2014-2017 Horde LLC * @license http://www.horde.org/licenses/gpl GPL * @package IMP */ class IMP_Factory_MailAutoconfig extends Horde_Core_Factory_Injector { /** * Return the mail autoconfig instance. * * @return Horde_Mail_Autoconfig The singleton instance. */ public function create(Horde_Injector $injector) { /* Need to manually set the drivers, since we should be using Horde * objects for Http_Client and Net_DNS2_Resolver. The return from * getDrivers() is already in priority order, so we don't need to * worry about that. */ $drivers = array(); foreach (Horde_Mail_Autoconfig::getDrivers() as $val) { $val = clone $val; if (($val instanceof Horde_Mail_Autoconfig_Driver_Guess) || ($val instanceof Horde_Mail_Autoconfig_Driver_Srv)) { $val->dns = $injector->getInstance('Net_DNS2_Resolver'); } elseif ($val instanceof Horde_Mail_Autoconfig_Driver_Thunderbird) { $val->http = $injector->getInstance('Horde_Http_Client'); } $drivers[] = $val; } return new Horde_Mail_Autoconfig(array('drivers' => $drivers)); } }