Require PHP's mbstring extension

Fixes #125
This commit is contained in:
Dmitriy Simushev 2015-06-19 11:26:03 +00:00
parent 8457e51717
commit eccbb59bcc
4 changed files with 4 additions and 4 deletions

View File

@ -11,7 +11,7 @@ This repository contains the core of Mibew Messenger application.
## Server requirements ## Server requirements
1. A webserver or web hosting account running on any major Operating System 1. A webserver or web hosting account running on any major Operating System
2. PHP (5.3.3 and above) with PDO, pdo_mysql, cURL and gd extensions 2. PHP (5.3.3 and above) with PDO, pdo_mysql, cURL, mbstring and gd extensions
3. MySQL 5.0 and above 3. MySQL 5.0 and above
## Build from sources ## Build from sources

View File

@ -6,7 +6,7 @@ REQUIREMENTS
* Apache web server 1.3.34 or above with the ability to use local .htaccess * Apache web server 1.3.34 or above with the ability to use local .htaccess
files (mod_rewrite module is optional, but recommended) files (mod_rewrite module is optional, but recommended)
* MySQL database 5.0 or above * MySQL database 5.0 or above
* PHP 5.3.3 or above with PDO, pdo_mysql, cURL and gd extensions * PHP 5.3.3 or above with PDO, pdo_mysql, cURL, mbstring and gd extensions
INSTALLATION INSTALLATION

View File

@ -63,7 +63,7 @@ class AboutController extends AbstractController
*/ */
protected function getExtensionsInfo() protected function getExtensionsInfo()
{ {
$required_extensions = array('PDO', 'pdo_mysql', 'gd', 'curl'); $required_extensions = array('PDO', 'pdo_mysql', 'gd', 'curl', 'mbstring');
$info = array(); $info = array();
foreach ($required_extensions as $ext) { foreach ($required_extensions as $ext) {
if (!extension_loaded($ext)) { if (!extension_loaded($ext)) {

View File

@ -529,7 +529,7 @@ class Installer
*/ */
protected function checkPhpExtensions() protected function checkPhpExtensions()
{ {
$extensions = array('PDO', 'pdo_mysql', 'gd', 'curl'); $extensions = array('PDO', 'pdo_mysql', 'gd', 'curl', 'mbstring');
foreach ($extensions as $ext) { foreach ($extensions as $ext) {
if (!extension_loaded($ext)) { if (!extension_loaded($ext)) {