2013-08-03 14:47:47 +04:00
|
|
|
<?php
|
|
|
|
|
|
|
|
$vendorDir = __DIR__ . '/../../..';
|
|
|
|
|
2022-04-27 00:31:50 +03:00
|
|
|
if (\file_exists($file = $vendorDir . '/autoload.php')) {
|
2013-08-03 14:47:47 +04:00
|
|
|
require_once $file;
|
2022-04-27 00:31:50 +03:00
|
|
|
} elseif (\file_exists($file = './vendor/autoload.php')) {
|
2013-08-03 14:47:47 +04:00
|
|
|
require_once $file;
|
|
|
|
} else {
|
2022-04-27 00:31:50 +03:00
|
|
|
throw new \RuntimeException('Not found composer autoload');
|
2020-06-01 03:50:39 +03:00
|
|
|
}
|