Subversion Repositories cheapmusic

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
103 - 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;