mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
r17469641 포트 번호가 제대로 적용되지 않는 문제 해결
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4950 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
53fdaf751c
commit
be7763e48a
3 changed files with 15 additions and 21 deletions
|
|
@ -32,7 +32,7 @@
|
|||
$url_info = parse_url(Context::getRequestUri());
|
||||
$hostname = $url_info['host'];
|
||||
$path = preg_replace('/\/$/','',$url_info['path']);
|
||||
$sites_args->domain = sprintf('%s%s', $hostname, $path);
|
||||
$sites_args->domain = sprintf('%s%s%s', $hostname, $url_info['port']&&$url_info['port']!=80?':'.$url_info['port']:'',$path);
|
||||
$output = executeQuery('module.getSiteDefaultInfo', $sites_args);
|
||||
if(!$output->toBool() || !$output->data) $output = executeQuery('module.getDefaultMidInfo');
|
||||
$module_info = $output->data;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue