blob: 9c6e09c503db3eec8ef659e33fc9e213ab179a12 (
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");
}
|