summaryrefslogtreecommitdiffstats
path: root/php-kdyby-events-autoload.php
blob: 7f9fc3a9f6002ab55dd08892c8816d01f0b2e25f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?php
$vendor = '/usr/share/php';

if (!isset($fedoraClassLoader) || !($fedoraClassLoader instanceof \Symfony\Component\ClassLoader\ClassLoader)) {
    if (!class_exists('Symfony\\Component\\ClassLoader\\ClassLoader', false)) {
        require_once $vendor . '/Symfony/Component/ClassLoader/ClassLoader.php';
    }

    $fedoraClassLoader = new \Symfony\Component\ClassLoader\ClassLoader();
    $fedoraClassLoader->register();
}
$fedoraClassLoader->addPrefix('Kdyby\\Events\\', dirname(dirname(__DIR__)));
require_once __DIR__ . '/exceptions.php';

// Dependencies
require_once $vendor . '/Doctrine/Common/autoload.php';
require_once $vendor . '/Nette/DI/autoload.php';
require_once $vendor . '/Nette/Utils/autoload.php';