/usr/share/php/Nette/loader.php is in php-nette 2.4-20160731-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 | <?php
/**
* This file is part of the Nette Framework (https://nette.org)
* Copyright (c) 2004 David Grudl (https://davidgrudl.com)
*/
if (!class_exists('Nette\Loaders\NetteLoader')) {
require __DIR__ . '/Loaders/NetteLoader.php';
}
Nette\Loaders\NetteLoader::getInstance()->register();
class_alias('Nette\Configurator', 'Nette\Config\Configurator');
class_alias('Nette\DI\CompilerExtension', 'Nette\Config\CompilerExtension');
class_alias('Tracy\Bar', 'Nette\Diagnostics\Bar');
class_alias('Tracy\BlueScreen', 'Nette\Diagnostics\BlueScreen');
class_alias('Tracy\Dumper', 'Nette\Diagnostics\Dumper');
class_alias('Latte\CompileException', 'Nette\Latte\CompileException');
class_alias('Latte\IMacro', 'Nette\Latte\IMacro');
class_alias('Latte\Macros\MacroSet', 'Nette\Latte\Macros\MacroSet');
class_alias('Nette\Utils\ArrayHash', 'Nette\ArrayHash');
class_alias('Nette\Utils\ArrayList', 'Nette\ArrayList');
class_alias('Nette\Utils\DateTime', 'Nette\DateTime');
class_alias('Nette\Utils\Image', 'Nette\Image');
class_alias('Nette\Utils\ObjectMixin', 'Nette\ObjectMixin');
class_alias('Nette\Neon\Exception', 'Nette\Utils\NeonException');
class_alias('Nette\Neon\Entity', 'Nette\Utils\NeonEntity');
class_alias('Nette\Neon\Neon', 'Nette\Utils\Neon');
require_once __DIR__ . '/shortcuts.php';
|