暂无描述

autoload.php 721B

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