summaryrefslogtreecommitdiff
path: root/Postman/Postman-Mail/google-api-client/vendor/google/apiclient/src/Google/autoload.php
diff options
context:
space:
mode:
Diffstat (limited to 'Postman/Postman-Mail/google-api-client/vendor/google/apiclient/src/Google/autoload.php')
-rw-r--r--Postman/Postman-Mail/google-api-client/vendor/google/apiclient/src/Google/autoload.php21
1 files changed, 21 insertions, 0 deletions
diff --git a/Postman/Postman-Mail/google-api-client/vendor/google/apiclient/src/Google/autoload.php b/Postman/Postman-Mail/google-api-client/vendor/google/apiclient/src/Google/autoload.php
new file mode 100644
index 0000000..8b49301
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-client/vendor/google/apiclient/src/Google/autoload.php
@@ -0,0 +1,21 @@
+<?php
+
+/**
+ * THIS FILE IS FOR BACKWARDS COMPATIBLITY ONLY
+ *
+ * If you were not already including this file in your project, please ignore it
+ */
+
+$file = __DIR__ . '/../../vendor/autoload.php';
+
+if (!file_exists($file)) {
+ $exception = 'This library must be installed via composer or by downloading the full package.';
+ $exception .= ' See the instructions at https://github.com/google/google-api-php-client#installation.';
+ throw new Exception($exception);
+}
+
+$error = 'google-api-php-client\'s autoloader was moved to vendor/autoload.php in 2.0.0. This ';
+$error .= 'redirect will be removed in 2.1. Please adjust your code to use the new location.';
+trigger_error($error, E_USER_DEPRECATED);
+
+require_once $file;