/usr/share/php/Nette/loader.php is in php-nette 2.1.0-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 | <?php
/**
* Nette Framework (version 2.1.0 released on 2013-12-31, http://nette.org)
*
* Copyright (c) 2004, 2014 David Grudl (http://davidgrudl.com)
*/
if (PHP_VERSION_ID < 50301) {
throw new Exception('Nette Framework requires PHP 5.3.1 or newer.');
}
// deprecated
define('NETTE', TRUE);
define('NETTE_DIR', __DIR__);
define('NETTE_VERSION_ID', 20100);
// Run NetteLoader
require_once __DIR__ . '/common/exceptions.php';
require_once __DIR__ . '/common/Object.php';
require_once __DIR__ . '/Loaders/NetteLoader.php';
Nette\Loaders\NetteLoader::getInstance()->register();
require_once __DIR__ . '/common/shortcuts.php';
|