Skip to content

Commit

Permalink
Fixed: undefined function.
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan0sz committed Feb 26, 2024
1 parent 68d268a commit de31d11
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Helpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 ) ),
];

Expand Down

0 comments on commit de31d11

Please sign in to comment.