|
@@ -363,6 +363,13 @@ class Base
|
|
|
$value = $this->token(1, 'token');
|
|
|
} elseif ($value == 'ticket') {
|
|
|
$value = $this->token(2, 'ticket');
|
|
|
+ } elseif (strstr($value, 'key=') && strstr($value, '&')) {
|
|
|
+ parse_str($value, $temp);
|
|
|
+ $k = $temp['key'];
|
|
|
+ unset($temp['key']);
|
|
|
+ if (isset($this->param[$k]) && isset($temp[$this->param[$k]])) {
|
|
|
+ $value = $temp[$this->param[$k]];
|
|
|
+ }
|
|
|
} elseif ($a = strstr($value, '{') || strstr($value, '(')) {
|
|
|
if ($a) {
|
|
|
$func = function ($r) use($data) {
|