1
0
Fork 0
mirror of https://github.com/Yetangitu/ampache synced 2025-10-04 02:09:23 +02:00

Add optional simplexml mod install test

This commit is contained in:
Afterster 2014-11-20 22:16:10 +01:00
parent cd53d38c51
commit 8d6e5152c0
4 changed files with 16 additions and 1 deletions

View file

@ -229,6 +229,11 @@ function check_php_zlib()
return function_exists('gzcompress');
}
function check_php_simplexml()
{
return function_exists('simplexml_load_string');
}
function return_bytes($val)
{
$val = trim($val);