blob: 85cee64b6b4d183239caee00a518df81748ef293 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
<?php
$vendorDir = __DIR__ . '/../../..';
if (\file_exists($file = $vendorDir . '/autoload.php')) {
require_once $file;
} elseif (\file_exists($file = './vendor/autoload.php')) {
require_once $file;
} else {
throw new \RuntimeException('Not found composer autoload');
}
|