mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
Remove unused file: redirect.html
https://github.com/xpressengine/xe-core/issues/2069
This commit is contained in:
parent
5798face60
commit
a400cc4b40
1 changed files with 1 additions and 27 deletions
|
|
@ -1,27 +1 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
var url = location.href;
|
||||
var idx = url.indexOf('?');
|
||||
|
||||
if(idx > -1 ) {
|
||||
var query_string = location.href.substr(idx+1, location.href.length);
|
||||
var args = {};
|
||||
query_string.replace(/([^=]+)=([^&]*)(&|$)/g, function() { args[arguments[1]] = arguments[2]; });
|
||||
|
||||
url = unescape(args['redirect_url']);
|
||||
if(typeof(url)=="undefined" || !url) url = "../../";
|
||||
}
|
||||
if(typeof(opener)!='undefined' && opener) {
|
||||
opener.location.href = url;
|
||||
self.close();
|
||||
} else {
|
||||
parent.location.href = url;
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
<!-- This file is not used in Rhymix. -->
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue