close
Warning:
AdminModule failed with TracError: Unable to instantiate component <class 'trac.ticket.admin.VersionAdminPanel'> (super(type, obj): obj (type VersionAdminPanel) is not an instance or subtype of type (Markup).)
|
Last change
on this file was 01a620f, checked in by Joachim Langenbach <joachim.langenbach@…>, 11 years ago |
|
Removed submodules for php externals and use composer to provide them and versioned them afterwards
|
-
Property mode
set to
100644
|
|
File size:
1.5 KB
|
| Line | |
|---|
| 1 | <?php
|
|---|
| 2 |
|
|---|
| 3 | // autoload_real.php @generated by Composer
|
|---|
| 4 |
|
|---|
| 5 | class ComposerAutoloaderInit98f7db723f323e6daf6ebdc03ed26296
|
|---|
| 6 | {
|
|---|
| 7 | private static $loader;
|
|---|
| 8 |
|
|---|
| 9 | public static function loadClassLoader($class)
|
|---|
| 10 | {
|
|---|
| 11 | if ('Composer\Autoload\ClassLoader' === $class) {
|
|---|
| 12 | require __DIR__ . '/ClassLoader.php';
|
|---|
| 13 | }
|
|---|
| 14 | }
|
|---|
| 15 |
|
|---|
| 16 | public static function getLoader()
|
|---|
| 17 | {
|
|---|
| 18 | if (null !== self::$loader) {
|
|---|
| 19 | return self::$loader;
|
|---|
| 20 | }
|
|---|
| 21 |
|
|---|
| 22 | spl_autoload_register(array('ComposerAutoloaderInit98f7db723f323e6daf6ebdc03ed26296', 'loadClassLoader'), true, true);
|
|---|
| 23 | self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
|---|
| 24 | spl_autoload_unregister(array('ComposerAutoloaderInit98f7db723f323e6daf6ebdc03ed26296', 'loadClassLoader'));
|
|---|
| 25 |
|
|---|
| 26 | $map = require __DIR__ . '/autoload_namespaces.php';
|
|---|
| 27 | foreach ($map as $namespace => $path) {
|
|---|
| 28 | $loader->set($namespace, $path);
|
|---|
| 29 | }
|
|---|
| 30 |
|
|---|
| 31 | $map = require __DIR__ . '/autoload_psr4.php';
|
|---|
| 32 | foreach ($map as $namespace => $path) {
|
|---|
| 33 | $loader->setPsr4($namespace, $path);
|
|---|
| 34 | }
|
|---|
| 35 |
|
|---|
| 36 | $classMap = require __DIR__ . '/autoload_classmap.php';
|
|---|
| 37 | if ($classMap) {
|
|---|
| 38 | $loader->addClassMap($classMap);
|
|---|
| 39 | }
|
|---|
| 40 |
|
|---|
| 41 | $loader->register(true);
|
|---|
| 42 |
|
|---|
| 43 | $includeFiles = require __DIR__ . '/autoload_files.php';
|
|---|
| 44 | foreach ($includeFiles as $file) {
|
|---|
| 45 | composerRequire98f7db723f323e6daf6ebdc03ed26296($file);
|
|---|
| 46 | }
|
|---|
| 47 |
|
|---|
| 48 | return $loader;
|
|---|
| 49 | }
|
|---|
| 50 | }
|
|---|
| 51 |
|
|---|
| 52 | function composerRequire98f7db723f323e6daf6ebdc03ed26296($file)
|
|---|
| 53 | {
|
|---|
| 54 | require $file;
|
|---|
| 55 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.
Download in other formats: