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