コード例 #1
0
ファイル: Utils.php プロジェクト: rikardonm/rainloop-webmail
 /**
  * @param string $sEncodedValues
  * @param string $sCustomKey = ''
  *
  * @return array
  */
 public static function DecodeKeyValuesQ($sEncodedValues, $sCustomKey = '')
 {
     $aResult = @\unserialize(\RainLoop\Utils::DecryptStringQ(\MailSo\Base\Utils::UrlSafeBase64Decode($sEncodedValues), \md5(APP_SALT . $sCustomKey)));
     return \is_array($aResult) ? $aResult : array();
 }