/usr/share/horde/ansel/lib/Test.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 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 | <?php
/**
* This class provides the Ansel configuration for the test script.
*
* Copyright 2010-2016 Horde LLC (http://www.horde.org/)
*
* See the enclosed file COPYING for license information (GPL). If you
* did not receive this file, see http://www.horde.org/licenses/gpl.
*
* @author Michael Slusarz <slusarz@horde.org>
* @package Ansel
*/
class Ansel_Test extends Horde_Test
{
/**
* The module list
*
* @var array
*/
protected $_moduleList = array(
'facedetect' => array(
'descrip' => 'Facedetect Face Detection Library',
'required' => false,
'error' => 'Ansel can make use of the Facedetect PHP extension for automatically detecting human faces in images.'
),
'libpuzzle' => array(
'descrip' => 'Puzzle Library',
'required' => false,
'error' => 'Ansel can make use of the libpuzzle PHP extension for finding similar images based on image content.'
),
'zip' => array(
'descrip' => 'Zip Support',
'required' => false,
'error' => 'Ansel can make use of PHP\'s Zip extension for more efficiently processing uploaded ZIP files.'
)
);
/**
* PHP settings list.
*
* @var array
*/
protected $_settingsList = array();
/**
* PEAR modules list.
*
* @var array
*/
protected $_pearList = array();
/**
* Inter-Horde application dependencies.
*
* @var array
*/
protected $_appList = array(
'agora' => array(
'error' => 'Agora provides the ability for users to comment on images.',
'version' => '1.0'
)
);
/**
* Any application specific tests that need to be done.
*
* @return string HTML output.
*/
public function appTests()
{
}
}
|