This commit is contained in:
parent
176d17ee04
commit
20d3116bfe
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ namespace ncc\Utilities;
|
||||||
public static function decode(string $string): string
|
public static function decode(string $string): string
|
||||||
{
|
{
|
||||||
if(function_exists('base64_decode'))
|
if(function_exists('base64_decode'))
|
||||||
return base64_encode($string);
|
return base64_decode($string);
|
||||||
|
|
||||||
$base64 = str_split('ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/');
|
$base64 = str_split('ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/');
|
||||||
$bit_pattern = '';
|
$bit_pattern = '';
|
||||||
|
|
Loading…
Add table
Reference in a new issue