added zlib to required extensions
This commit is contained in:
parent
58072861c3
commit
cee9039c0b
4
.idea/codeStyleSettings.xml
generated
4
.idea/codeStyleSettings.xml
generated
@ -54,6 +54,7 @@
|
||||
<option name="ALIGN_GROUP_FIELD_DECLARATIONS" value="true" />
|
||||
<option name="SPACE_AFTER_TYPE_CAST" value="true" />
|
||||
<option name="BINARY_OPERATION_SIGN_ON_NEXT_LINE" value="true" />
|
||||
<option name="ARRAY_INITIALIZER_WRAP" value="1" />
|
||||
<option name="IF_BRACE_FORCE" value="3" />
|
||||
<option name="DOWHILE_BRACE_FORCE" value="3" />
|
||||
<option name="WHILE_BRACE_FORCE" value="3" />
|
||||
@ -72,5 +73,4 @@
|
||||
</option>
|
||||
<option name="USE_PER_PROJECT_SETTINGS" value="true" />
|
||||
</component>
|
||||
</project>
|
||||
|
||||
</project>
|
@ -34,11 +34,11 @@ http://www.maniacontrol.com
|
||||
## REQUIREMENTS:
|
||||
- MySQL Database
|
||||
- PHP 5.4+
|
||||
- Needed extensions:
|
||||
- Needed extensions (on ManiaControl startup you will see if you have them activated):
|
||||
- php_mysqli
|
||||
- php_curl
|
||||
- php_xmlrpc (TM only)
|
||||
|
||||
- php_zlib
|
||||
|
||||
### How to report bugs or request features?:
|
||||
- Write a mail to bugs(at)maniacontrol(dot)com
|
||||
|
@ -77,6 +77,16 @@ class SystemUtil {
|
||||
Logger::log($message . 'FOUND!');
|
||||
}
|
||||
|
||||
// Check for Zlib
|
||||
$message = 'Checking for installed Zlib ... ';
|
||||
if (!extension_loaded('zlib')) {
|
||||
Logger::log($message . 'NOT FOUND!');
|
||||
Logger::log(" -- You don't have Zlib installed! Check: http://php.net/manual/de/zlib.setup.php");
|
||||
$success = false;
|
||||
} else {
|
||||
Logger::log($message . 'FOUND!');
|
||||
}
|
||||
|
||||
if (!$success) {
|
||||
// Missing requirements
|
||||
self::quit();
|
||||
|
Loading…
Reference in New Issue
Block a user