⚝
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 :
DavStorage.php
* @category Horde * @license http://www.horde.org/licenses/lgpl21 LGPL * @package Core */ /** * Factory for the DAV metadata storage. * * @author Jan Schneider
* @category Horde * @license http://www.horde.org/licenses/lgpl21 LGPL * @package Core */ class Horde_Core_Factory_DavStorage extends Horde_Core_Factory_Injector { public function create(Horde_Injector $injector) { $driver = $GLOBALS['conf']['davstorage']['driver']; $params = Horde::getDriverConfig('davstorage', $driver); switch ($driver) { case 'Sql': $class = 'Horde_Dav_Storage_Sql'; $params['db'] = $injector ->getInstance('Horde_Core_Factory_Db') ->create('horde', 'davstorage'); break; default: throw new Horde_Exception('A storage backend for DAV has not been configured.'); break; } return new $class($params); } }