/usr/share/php/Horde/Autoloader/Default.php is in php-horde-autoloader 2.0.1-3.
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 | <?php
/**
* Horde_Autoloader_default
*
* Default autoloader definition that simply uses the include path with default
* class path mappers.
*
* @author Bob Mckee <bmckee@bywires.com>
* @author Chuck Hagenbuch <chuck@horde.org>
* @category Horde
* @package Autoloader
*/
require_once 'Horde/Autoloader.php';
require_once 'Horde/Autoloader/ClassPathMapper.php';
require_once 'Horde/Autoloader/ClassPathMapper/Default.php';
class Horde_Autoloader_Default extends Horde_Autoloader
{
public function __construct()
{
foreach (array_reverse(explode(PATH_SEPARATOR, get_include_path())) as $path) {
if ($path == '.') { continue; }
$path = realpath($path);
if ($path) {
$this->addClassPathMapper(new Horde_Autoloader_ClassPathMapper_Default($path));
}
}
}
}
$__autoloader = new Horde_Autoloader_Default();
$__autoloader->registerAutoloader();
|