2016-12-07 06:21:46 +01:00
|
|
|
<?php
|
|
|
|
|
2016-12-30 18:41:14 +01:00
|
|
|
ini_set('display_startup_errors', 1);
|
|
|
|
ini_set('html_errors', 1);
|
2017-02-01 01:22:05 +01:00
|
|
|
ini_set('memory_limit', '-1');
|
2016-12-31 01:36:35 +01:00
|
|
|
error_reporting(E_ALL);
|
2016-12-30 18:41:14 +01:00
|
|
|
|
2016-12-07 06:21:46 +01:00
|
|
|
foreach ([__DIR__ . '/../../../autoload.php', __DIR__ . '/../vendor/autoload.php'] as $file) {
|
|
|
|
if (file_exists($file)) {
|
2017-10-29 19:39:23 +01:00
|
|
|
/** @psalm-suppress UnresolvableInclude */
|
2016-12-07 06:21:46 +01:00
|
|
|
require $file;
|
|
|
|
break;
|
|
|
|
}
|
2016-12-30 18:41:14 +01:00
|
|
|
}
|