diff --git a/.idea/codeStyleSettings.xml b/.idea/codeStyleSettings.xml
index ba7af51e..22cd6899 100644
--- a/.idea/codeStyleSettings.xml
+++ b/.idea/codeStyleSettings.xml
@@ -54,6 +54,7 @@
+
@@ -72,5 +73,4 @@
-
-
+
\ No newline at end of file
diff --git a/README.md b/README.md
index 8ee67934..6fda5e84 100644
--- a/README.md
+++ b/README.md
@@ -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
diff --git a/core/Utils/SystemUtil.php b/core/Utils/SystemUtil.php
index cd068daa..9013755c 100644
--- a/core/Utils/SystemUtil.php
+++ b/core/Utils/SystemUtil.php
@@ -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();