/usr/share/horde/timeobjects/lib/Application.php is in php-horde-timeobjects 2.1.1-1build1.
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 | <?php
/**
* This file defines Horde's core API interface. Other core Horde libraries
* can interact with Content through this API.
*
* @author Michael J. Rubinsky <mrubinsk@horde.org>
* @license http://www.horde.org/licenses/bsd BSD
* @category Horde
* @package TimeObjects
*/
/* Determine the base directories. */
if (!defined('TIMEOBJECTS_BASE')) {
define('TIMEOBJECTS_BASE', realpath(__DIR__ . '/..'));
}
if (!defined('HORDE_BASE')) {
/* If Horde does not live directly under the app directory, the HORDE_BASE
* constant should be defined in config/horde.local.php. */
if (file_exists(TIMEOBJECTS_BASE . '/config/horde.local.php')) {
include TIMEOBJECTS_BASE . '/config/horde.local.php';
} else {
define('HORDE_BASE', realpath(TIMEOBJECTS_BASE . '/..'));
}
}
/* Load the Horde Framework core (needed to autoload
* Horde_Registry_Application::). */
require_once HORDE_BASE . '/lib/core.php';
class Timeobjects_Application extends Horde_Registry_Application
{
public $version = '2.1.1';
}
|