From e1211859a67317f9347a21f4ddb05f44d39ac7f1 Mon Sep 17 00:00:00 2001 From: flashwave Date: Tue, 3 Dec 2019 03:02:32 +0100 Subject: [PATCH] Fixed missing namespace --- src/url.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/url.php b/src/url.php index 2616f221..26b5fd1e 100644 --- a/src/url.php +++ b/src/url.php @@ -253,7 +253,7 @@ function url_proxy_media(?string $url): ?string { } $secret = config_get('media_proxy.secret', MSZ_CFG_STR, 'insecure'); - $url = Base64::encode($url, true); + $url = \Misuzu\Base64::encode($url, true); $hash = hash_hmac('sha256', $url, $secret); return url('media-proxy', compact('hash', 'url'));