Skip to content

Commit

Permalink
Require PHP's mbstring extension
Browse files Browse the repository at this point in the history
Fixes Mibew#125
  • Loading branch information
JustBlackBird committed Jun 19, 2015
1 parent 8457e51 commit eccbb59
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ This repository contains the core of Mibew Messenger application.
## Server requirements

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

## Build from sources
Expand Down
2 changes: 1 addition & 1 deletion src/mibew/README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ REQUIREMENTS
* Apache web server 1.3.34 or above with the ability to use local .htaccess
files (mod_rewrite module is optional, but recommended)
* 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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public function indexAction(Request $request)
*/
protected function getExtensionsInfo()
{
$required_extensions = array('PDO', 'pdo_mysql', 'gd', 'curl');
$required_extensions = array('PDO', 'pdo_mysql', 'gd', 'curl', 'mbstring');
$info = array();
foreach ($required_extensions as $ext) {
if (!extension_loaded($ext)) {
Expand Down
2 changes: 1 addition & 1 deletion src/mibew/libs/classes/Mibew/Maintenance/Installer.php
Original file line number Diff line number Diff line change
Expand Up @@ -529,7 +529,7 @@ protected function checkPhpVersion()
*/
protected function checkPhpExtensions()
{
$extensions = array('PDO', 'pdo_mysql', 'gd', 'curl');
$extensions = array('PDO', 'pdo_mysql', 'gd', 'curl', 'mbstring');

foreach ($extensions as $ext) {
if (!extension_loaded($ext)) {
Expand Down

0 comments on commit eccbb59

Please sign in to comment.