/usr/share/horde/ansel/lib/Factory/Faces.php is in php-horde-ansel 3.0.5+debian0-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | <?php
/**
* Factory for Ansel_Faces
*
* @author Michael J. Rubinsky <mrubinsk@horde.org>
* @category Horde
* @license http://www.horde.org/licenses/gpl GPL
* @package Ansel
*/
class Ansel_Factory_Faces extends Horde_Core_Factory_Injector
{
public function create (Horde_Injector $injector)
{
$driver = $GLOBALS['conf']['faces']['driver'];
$params = $GLOBALS['conf']['faces'];
$class_name = 'Ansel_Faces_' . ucfirst($driver);
return new $class_name($params);
}
}
|