Resolved #150 added mbstring as depency (always preinstalled anyways)
This commit is contained in:
parent
69f566fb0c
commit
56ae4a8525
@ -34,12 +34,13 @@ https://www.maniacontrol.com
|
|||||||
## REQUIREMENTS:
|
## REQUIREMENTS:
|
||||||
- MySQL Database
|
- MySQL Database
|
||||||
- PHP 5.4+
|
- PHP 5.4+
|
||||||
- Needed extensions (on ManiaControl startup you will see if you have them activated):
|
- Needed extensions (on ManiaControl startup you will see if you have them installed and activated):
|
||||||
- php_mysqli
|
- php_mysqli
|
||||||
- php_curl
|
- php_curl
|
||||||
- php_xmlrpc (TM only, recommended for SM)
|
- php_xmlrpc (TM only, recommended for SM)
|
||||||
- php_zlib
|
- php_zlib
|
||||||
- php_zip
|
- php_zip
|
||||||
|
- php_mbstring
|
||||||
|
|
||||||
### How to report bugs or request features?:
|
### How to report bugs or request features?:
|
||||||
- Write a mail to bugs(at)maniacontrol(dot)com
|
- Write a mail to bugs(at)maniacontrol(dot)com
|
||||||
|
@ -97,6 +97,16 @@ class SystemUtil {
|
|||||||
Logger::log($message . 'FOUND!');
|
Logger::log($message . 'FOUND!');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Check for MBString
|
||||||
|
$message = 'Checking for installed mbstring ... ';
|
||||||
|
if (!extension_loaded('mbstring')) {
|
||||||
|
Logger::log($message . 'NOT FOUND!');
|
||||||
|
Logger::log(" -- You don't have mbstring installed! Check: http://php.net/manual/en/mbstring.setup.php");
|
||||||
|
$success = false;
|
||||||
|
} else {
|
||||||
|
Logger::log($message . 'FOUND!');
|
||||||
|
}
|
||||||
|
|
||||||
if (!$success) {
|
if (!$success) {
|
||||||
// Missing requirements
|
// Missing requirements
|
||||||
self::quit();
|
self::quit();
|
||||||
|
Loading…
Reference in New Issue
Block a user