Close Connection when there is no connection value.

git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@13161 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
misol 2013-09-25 15:29:32 +00:00
parent 034a5c0288
commit f70ce644ce
1410 changed files with 7188 additions and 53541 deletions

View file

@ -42,7 +42,7 @@ define('__ZBXE__', __XE__);
* '2' means 'release candidate' status.
* '3' means 'final' status.
*/
define('__XE_VERSION__', '1.7.0.0');
define('__XE_VERSION__', '1.7.3.4');
/**
* @deprecated __ZBXE_VERSION__ will be removed. Use __XE_VERSION__ instead.

View file

@ -1471,6 +1471,25 @@ function recurciveExposureCheck(&$menu)
}
}
function changeValueInUrl($key, $requestKey, $dbKey, $urlName = 'success_return_url')
{
if($requestKey != $dbKey)
{
$arrayUrl = parse_url(Context::get('success_return_url'));
if($arrayUrl['query'])
{
parse_str($arrayUrl['query'], $parsedStr);
if(isset($parsedStr[$key]))
{
$parsedStr[$key] = $requestKey;
$successReturnUrl .= $arrayUrl['path'].'?'.http_build_query($parsedStr);
Context::set($urlName, $successReturnUrl);
}
}
}
}
/**
* Print raw html header
*