2013-11-27 04:06:49 +04:00
|
|
|
<?php
|
|
|
|
|
2017-11-07 11:00:49 +03:00
|
|
|
ini_set('memory_limit', '512M');
|
2013-11-27 04:06:49 +04:00
|
|
|
$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");
|
|
|
|
}
|