forked from magento/quality-patches
-
Notifications
You must be signed in to change notification settings - Fork 1
/
autoload.php
23 lines (21 loc) · 875 Bytes
/
autoload.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?php
/**
* © Copyright 2013-present Adobe. All rights reserved.
*
* This file is licensed under OSL 3.0 or your existing commercial license or subscription
* agreement with Magento or its Affiliates (the "Agreement).
*
* You may obtain a copy of the OSL 3.0 license at http://opensource.org/licenses/osl-3.0.php Open
* Software License (OSL 3.0) or by contacting engcom@adobe.com for a copy.
*
* Subject to your payment of fees and compliance with the terms and conditions of the Agreement,
* the Agreement supersedes the OSL 3.0 license with respect to this file.
*/
error_reporting(E_ALL);
date_default_timezone_set('UTC');
foreach ([__DIR__ . '/../../autoload.php', __DIR__ . '/vendor/autoload.php'] as $file) {
if (file_exists($file)) {
return require $file;
}
}
throw new RuntimeException('Required file \'autoload.php\' was not found.');