mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-01 00:02:21 +09:00
Merge branch 'develop' of github.com:xpressengine/xe-core into develop
This commit is contained in:
commit
d139cf5d87
8 changed files with 4744 additions and 0 deletions
|
|
@ -71,6 +71,12 @@ class installAdminController extends install
|
|||
|
||||
$default_url = Context::get('default_url');
|
||||
if($default_url && strncasecmp('http://', $default_url, 7) !== 0 && strncasecmp('https://', $default_url, 8) !== 0) $default_url = 'http://'.$default_url;
|
||||
if($default_url && substr($default_url, -1) !== '/') $default_url = $default_url.'/';
|
||||
|
||||
/* convert NON Alphabet URL to punycode URL - Alphabet URL will not be changed */
|
||||
require_once(_XE_PATH_ . 'libs/idna_convert/idna_convert.class.php');
|
||||
$IDN = new idna_convert(array('idn_version' => 2008));
|
||||
$default_url = $IDN->encode($default_url);
|
||||
|
||||
$use_ssl = Context::get('use_ssl');
|
||||
if(!$use_ssl) $use_ssl = 'none';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue