This file is indexed.

/usr/share/horde/wicked/lib/Test.php is in php-horde-wicked 2.0.7-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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
<?php
/**
 * 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.
 *
 * @category Horde
 * @license  http://www.horde.org/licenses/gpl GPL
 * @author   Michael Slusarz <slusarz@horde.org>
 * @package  Wicked
 */

/**
 * This class provides the Wicked configuration for the test script.
 *
 * @category Horde
 * @license  http://www.horde.org/licenses/gpl GPL
 * @author   Michael Slusarz <slusarz@horde.org>
 * @package  Wicked
 */
class Wicked_Test extends Horde_Test
{
    /**
     * The module list
     *
     * @var array
     */
    protected $_moduleList = array();

    /**
     * PHP settings list.
     *
     * @var array
     */
    protected $_settingsList = array();

    /**
     * PEAR modules list.
     *
     * @var array
     */
    protected $_pearList = array(
        'Text_Wiki' => array(
            'error' => 'The Text_Wiki module is required to parse and render the wiki markup in Wicked.',
            'required' => true,
            'function' => '_checkPearTextWikiVersion'
        ),
        'Text_Wiki_Creole' => array(
            'error' => 'The Text_Wiki_Creole module is required if you plan on using Creole formatting.',
            'required' => false,
        ),
        'Text_Wiki_Mediawiki' => array(
            'error' => 'The Text_Wiki_Mediawiki module is required if you plan on using Mediawiki formatting.',
            'required' => false,
        ),
        'Text_Wiki_Tiki' => array(
            'error' => 'The Text_Wiki_Tiki module is required if you plan on using Tiki formatting.',
            'required' => false,
        ),
    );

    /**
     * Inter-Horde application dependencies.
     *
     * @var array
     */
    protected $_appList = array();

    /**
     * Additional check for PEAR Text_Wiki module for its version.
     *
     * @return string  Returns error string on error.
     */
    protected function _checkPearTextWikiVersion()
    {
        if (!is_callable(array('Text_Wiki', 'setRenderConf'))) {
            return 'Your version of Text_Wiki is not recent enough.';
        }
    }

    /**
     * Any application specific tests that need to be done.
     *
     * @return string  HTML output.
     */
    public function appTests()
    {
    }

}