Index: branches/RC/core/install.php =================================================================== diff -u -N -r9988 -r10098 --- branches/RC/core/install.php (.../install.php) (revision 9988) +++ branches/RC/core/install.php (.../install.php) (revision 10098) @@ -125,7 +125,7 @@ * @var string */ var $baseURL = ''; - + /** * Holds number of last executed query in the SQL * @@ -345,7 +345,7 @@ if ($password != $password_verify) { $this->errorMessage = 'Passwords does not match'; } - elseif (strlen($password) < 4) { + elseif (mb_strlen($password) < 4) { $this->errorMessage = 'Root Password must be at least 4 characters'; } @@ -629,7 +629,7 @@ function GetMaxModuleVersion($module_name) { - $upgrades_file = sprintf(UPGRADES_FILE, strtolower($module_name).'/', 'sql'); + $upgrades_file = sprintf(UPGRADES_FILE, mb_strtolower($module_name).'/', 'sql'); if (!file_exists($upgrades_file)) { // no upgrade file return '4.0.1'; @@ -679,7 +679,7 @@ // 2. user has all types of permissions in database - if (strlen($this->systemConfig['Database']['TablePrefix']) > 7) { + if (mb_strlen($this->systemConfig['Database']['TablePrefix']) > 7) { $this->errorMessage = 'Table prefix should not be longer than 7 characters'; return false; } @@ -1114,7 +1114,7 @@ //echo $line . " - "; if(eregi('^[[a-z]+]$',str_replace(' ', '', $line))) { //echo 'section'; - $section = substr($line, 1, (strlen($line) - 2)); + $section = mb_substr($line, 1, (mb_strlen($line) - 2)); if ($parse_section) { $retval[$section] = array(); }