Describe Framework requirements, drop some redundant code (since we require mbstring)

pull/298/merge
Aleksander Machniak 8 years ago
parent 118935e0e8
commit c65bb121eb

@ -16,6 +16,15 @@ tasks:
- VCard parsing and writing - VCard parsing and writing
REQUIREMENTS
------------
PHP Version 5.4 or greater including:
- PCRE, DOM, JSON, Session, Sockets, OpenSSL, Mbstring (required)
- PHP PDO with driver for either MySQL, PostgreSQL, SQL Server, Oracle or SQLite (required)
- Libiconv, Zip, Fileinfo, Intl, Exif (recommended)
- LDAP for LDAP addressbook support (optional)
INSTALLATION INSTALLATION
------------ ------------
Copy all files of this directory to your project or install it in the default Copy all files of this directory to your project or install it in the default

@ -277,9 +277,6 @@ class rcube_charset
return $out; return $out;
} }
} }
else if ($from == 'ISO-8859-1' && function_exists('utf8_encode')) {
return utf8_encode($str);
}
} }
// encode string for output // encode string for output
@ -290,9 +287,6 @@ class rcube_charset
return $out; return $out;
} }
} }
else if ($to == 'ISO-8859-1' && function_exists('utf8_decode')) {
return utf8_decode($str);
}
} }
if (!isset($out)) { if (!isset($out)) {

Loading…
Cancel
Save