1
0
Fork 0
mirror of https://github.com/Yetangitu/ampache synced 2025-10-05 19:41:55 +02:00

check mbstring.func_overload, so you don't end up with a thousand corrupt files like me :)

This commit is contained in:
Anonymous 2015-08-14 21:45:00 +03:00
parent df89cb845d
commit a5662ed8cc
2 changed files with 23 additions and 0 deletions

View file

@ -81,6 +81,14 @@ function check_php_pdo_mysql()
return class_exists('PDO') ? in_array('mysql', PDO::getAvailableDrivers()) : false;
}
function check_mbstring_func_overload()
{
if ( ini_get('mbstring.func_overload') > 0) {
return false;
}
return true;
}
/**
* check_config_values
* checks to make sure that they have at least set the needed variables