We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d1dcbd commit d0e7380Copy full SHA for d0e7380
autoload.php
@@ -22,7 +22,7 @@ function google_api_php_client_autoload($className) {
22
}
23
if (count($classPath) > 3) {
24
// Maximum class file path depth in this project is 3.
25
- $classPath = array_slice($className, 0, 3);
+ $classPath = array_slice($classPath, 0, 3);
26
27
$filePath = dirname(__FILE__) . '/src/' . implode('/', $classPath) . '.php';
28
if (file_exists($filePath)) {
0 commit comments