mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
Add curl, json, and openssl to list of required extensions
This commit is contained in:
parent
ca9d10ac21
commit
c763bf2a93
4 changed files with 147 additions and 78 deletions
|
|
@ -14,12 +14,18 @@ if(!defined('__XE__'))
|
|||
// define an empty function to avoid errors when iconv function doesn't exist
|
||||
if(!function_exists('iconv'))
|
||||
{
|
||||
eval('
|
||||
function iconv($in_charset, $out_charset, $str)
|
||||
function iconv($in_charset, $out_charset, $str)
|
||||
{
|
||||
if(function_exists('mb_convert_encoding'))
|
||||
{
|
||||
$out_charset = preg_replace('#//.+$#', '', $out_charset);
|
||||
return mb_convert_encoding($str, $out_charset, $in_charset);
|
||||
}
|
||||
else
|
||||
{
|
||||
return $str;
|
||||
}
|
||||
');
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue