1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
<?php date_default_timezone_set('UTC'); $try = array( __DIR__ . '/../vendor/autoload.php', __DIR__ . '/../../../autoload.php', ); foreach($try as $path) { if (file_exists($path)) { include $path; break; } }