mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 11:44:10 +09:00
r5352 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5353 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
10b11a0dd0
commit
25aa73dca7
1 changed files with 4 additions and 1 deletions
|
|
@ -65,7 +65,10 @@
|
|||
if(!is_array($allow_outlink_site_array)) $allow_outlink_site_array[0] = $file_module_config->allow_outlink_site;
|
||||
foreach($allow_outlink_site_array as $val) {
|
||||
$site = parse_url(trim($val));
|
||||
if($site['host'] == $referer['host']) $file_module_config->allow_outlink = 'Y';
|
||||
if($site['host'] == $referer['host']) {
|
||||
$file_module_config->allow_outlink = 'Y';
|
||||
break;
|
||||
}
|
||||
}
|
||||
if($file_module_config->allow_outlink != 'Y') return $this->stop('msg_not_permitted_download');
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue