blob: 8eb3e7ad947db31d51e5793e111ff4230eb69f65 (
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;
} else if (file_exists($file = './vendor/autoload.php')) {
require_once $file;
} else {
throw new \RuntimeException("Not found composer autoload");
}
|