diff --git a/src/Helpers.php b/src/Helpers.php index dff29e34..9c232d8a 100644 --- a/src/Helpers.php +++ b/src/Helpers.php @@ -168,8 +168,8 @@ public static function get_proxy_resources() { 'namespace' => bin2hex( random_bytes( 3 ) ), 'base' => bin2hex( random_bytes( 2 ) ), 'endpoint' => bin2hex( random_bytes( 4 ) ), - 'cache_dir' => phptrailingslashit( $upload_dir[ 'basedir' ] ) . trailingslashit( $cache_dir ), - 'cache_url' => phptrailingslashit( $upload_dir[ 'baseurl' ] ) . trailingslashit( $cache_dir ), + 'cache_dir' => trailingslashit( $upload_dir[ 'basedir' ] ) . trailingslashit( $cache_dir ), + 'cache_url' => trailingslashit( $upload_dir[ 'baseurl' ] ) . trailingslashit( $cache_dir ), 'file_alias' => bin2hex( random_bytes( 4 ) ), ];