1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-13 01:54:12 +02:00

Code cleanup.

This commit is contained in:
Cameron
2020-12-05 12:43:05 -08:00
parent 68e251d771
commit b16d7605b6
7 changed files with 142 additions and 207 deletions

View File

@@ -281,10 +281,11 @@ class e_parse extends e_parser
// CHARSET is utf-8
// if(strtolower(CHARSET) == 'utf-8')
// {
if(version_compare(PHP_VERSION, '6.0.0') < 1)
if(PHP_MAJOR_VERSION < 6)
{
// Need to do something here
if(extension_loaded('mbstring'))
if(extension_loaded('mbstring') && defined('MB_OVERLOAD_STRING'))
{
// Check for function overloading
$temp = ini_get('mbstring.func_overload');