service/components/contents/MegaNz.php
/**
     * Unsubstitute standard base64 special characters, restore padding.
     *
     * @param  tring $data
     * @return string
     */
Unsubstitute standard base64 special characters, restore padding.
@param  tring $data
@return string
Unsubstitute standard base64 special characters restore padding . @param tring $data @return string
private function base64UrlDecode($data)
    {
        $data .= substr('==', (2 - strlen($data) * 3) % 4);
        $data = str_replace(array('-', '_', ','), array('+', '/', ''), $data);
        return base64_decode($data);
    }
private function base64UrlDecode ( $ data ) { $ data .= substr ( '==' , ( 2 - strlen ( $ data ) * 3 ) % 4 ) ; $ data = str_replace ( array ( '-' , '_' , ',' ) , array ( '+' , '/' , '' ) , $ data ) ; return base64_decode ( $ data ) ; }
Unsubstitute standard base64 special characters, restore padding.
Unsubstitute standard base64 special characters restore padding .