PluginProbe
WP-Stateless – Google Cloud Storage / 3.0.3
WP-Stateless – Google Cloud Storage v3.0.3
4.4.3 2.1.7 2.1.8 2.1.9 2.2.0 2.2.1 2.2.2 2.2.3 2.2.4 2.2.5 2.2.6 2.2.7 2.3.0 2.3.1 2.3.2 3.0 3.0.1 3.0.2 3.0.3 3.0.4 3.1.0 3.1.1 3.2.0 3.2.1 3.2.2 All 62 releases
wp-stateless / lib / Google / src / Google / autoload.php

autoload.php in WP-Stateless – Google Cloud Storage 3.0.3, at lib/Google/src/Google/autoload.php

22 lines 721 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 /**
4 * THIS FILE IS FOR BACKWARDS COMPATIBLITY ONLY
5 *
6 * If you were not already including this file in your project, please ignore it
7 */
8
9 $file = __DIR__ . '/../../vendor/autoload.php';
10
11 if (!file_exists($file)) {
12 $exception = 'This library must be installed via composer or by downloading the full package.';
13 $exception .= ' See the instructions at https://github.com/google/google-api-php-client#installation.';
14 throw new Exception($exception);
15 }
16
17 $error = 'google-api-php-client\'s autoloader was moved to vendor/autoload.php in 2.0.0. This ';
18 $error .= 'redirect will be removed in 2.1. Please adjust your code to use the new location.';
19 trigger_error($error, E_USER_DEPRECATED);
20
21 require_once $file;
22