mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
Update minimal server requirements
This commit is contained in:
parent
d1b0a7595d
commit
d3c0e94b03
5 changed files with 45 additions and 32 deletions
|
|
@ -394,18 +394,18 @@ class installController extends install
|
|||
$checklist['json'] = false;
|
||||
}
|
||||
|
||||
// Check openssl
|
||||
if(function_exists('openssl_encrypt'))
|
||||
// Check mcrypt or openssl
|
||||
if(function_exists('mcrypt_encrypt') || function_exists('openssl_encrypt'))
|
||||
{
|
||||
$checklist['openssl'] = true;
|
||||
$checklist['mcrypt'] = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
$checklist['openssl'] = false;
|
||||
$checklist['mcrypt'] = false;
|
||||
}
|
||||
|
||||
// Check XML
|
||||
if(function_exists('xml_parser_create'))
|
||||
// Check xml & simplexml
|
||||
if(function_exists('xml_parser_create') && function_exists('simplexml_load_string'))
|
||||
{
|
||||
$checklist['xml'] = true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue