mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-13 16:34:52 +09:00
Merge branch 'hotfix/1.7.11' into develop
This commit is contained in:
commit
94d0a90581
3 changed files with 15 additions and 7 deletions
|
|
@ -367,6 +367,8 @@ class Context
|
|||
$this->allow_rewrite = ($this->db_info->use_rewrite == 'Y' ? TRUE : FALSE);
|
||||
|
||||
// set locations for javascript use
|
||||
$url = array();
|
||||
$current_url = self::getRequestUri();
|
||||
if($_SERVER['REQUEST_METHOD'] == 'GET')
|
||||
{
|
||||
if($this->get_vars)
|
||||
|
|
@ -386,17 +388,21 @@ class Context
|
|||
$url[] = $key . '=' . urlencode($val);
|
||||
}
|
||||
}
|
||||
$this->set('current_url', self::getRequestUri() . '?' . join('&', $url));
|
||||
|
||||
$current_url = self::getRequestUri();
|
||||
if($url) $current_url .= '?' . join('&', $url);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->set('current_url', $this->getUrl());
|
||||
$current_url = $this->getUrl();
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->set('current_url', self::getRequestUri());
|
||||
$current_url = self::getRequestUri();
|
||||
}
|
||||
|
||||
$this->set('current_url', $current_url);
|
||||
$this->set('request_uri', self::getRequestUri());
|
||||
}
|
||||
|
||||
|
|
@ -1157,6 +1163,7 @@ class Context
|
|||
{
|
||||
continue;
|
||||
}
|
||||
$key = htmlentities($key);
|
||||
$val = $this->_filterRequestVar($key, $val);
|
||||
|
||||
if($requestMethod == 'GET' && isset($_GET[$key]))
|
||||
|
|
|
|||
|
|
@ -5,8 +5,9 @@
|
|||
</head>
|
||||
<body>
|
||||
<script>
|
||||
var idx = location.href.indexOf('?');
|
||||
var url = parent.location.href;
|
||||
var url = location.href;
|
||||
var idx = url.indexOf('?');
|
||||
|
||||
if(idx > -1 ) {
|
||||
var query_string = location.href.substr(idx+1, location.href.length);
|
||||
var args = {};
|
||||
|
|
@ -23,4 +24,4 @@
|
|||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ define('__ZBXE__', __XE__);
|
|||
/**
|
||||
* Display XE's full version.
|
||||
*/
|
||||
define('__XE_VERSION__', '1.7.10');
|
||||
define('__XE_VERSION__', '1.7.11');
|
||||
define('__XE_VERSION_ALPHA__', (stripos(__XE_VERSION__, 'alpha') !== false));
|
||||
define('__XE_VERSION_BETA__', (stripos(__XE_VERSION__, 'beta') !== false));
|
||||
define('__XE_VERSION_RC__', (stripos(__XE_VERSION__, 'rc') !== false));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue