diff --git a/lib/util/framework.php b/lib/util/framework.php index ee46eb2343..0fca2e2349 100644 --- a/lib/util/framework.php +++ b/lib/util/framework.php @@ -164,7 +164,7 @@ spl_autoload_register('GNUsocial_class_autoload'); */ spl_autoload_register(function ($class) { if ($class === 'OAuthRequest' || $class === 'OAuthException') { - $class_base = 'OAuth.php'; + $class_base = 'OAuth'; } else { $class_base = preg_replace('{\\\\|_(?!.*\\\\)}', DIRECTORY_SEPARATOR, ltrim($class, '\\')); }