added zlib to required extensions
This commit is contained in:
parent
58072861c3
commit
cee9039c0b
@ -54,6 +54,7 @@
|
|||||||
<option name="ALIGN_GROUP_FIELD_DECLARATIONS" value="true" />
|
<option name="ALIGN_GROUP_FIELD_DECLARATIONS" value="true" />
|
||||||
<option name="SPACE_AFTER_TYPE_CAST" value="true" />
|
<option name="SPACE_AFTER_TYPE_CAST" value="true" />
|
||||||
<option name="BINARY_OPERATION_SIGN_ON_NEXT_LINE" 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="IF_BRACE_FORCE" value="3" />
|
||||||
<option name="DOWHILE_BRACE_FORCE" value="3" />
|
<option name="DOWHILE_BRACE_FORCE" value="3" />
|
||||||
<option name="WHILE_BRACE_FORCE" value="3" />
|
<option name="WHILE_BRACE_FORCE" value="3" />
|
||||||
@ -73,4 +74,3 @@
|
|||||||
<option name="USE_PER_PROJECT_SETTINGS" value="true" />
|
<option name="USE_PER_PROJECT_SETTINGS" value="true" />
|
||||||
</component>
|
</component>
|
||||||
</project>
|
</project>
|
||||||
|
|
||||||
|
@ -34,11 +34,11 @@ http://www.maniacontrol.com
|
|||||||
## REQUIREMENTS:
|
## REQUIREMENTS:
|
||||||
- MySQL Database
|
- MySQL Database
|
||||||
- PHP 5.4+
|
- PHP 5.4+
|
||||||
- Needed extensions:
|
- Needed extensions (on ManiaControl startup you will see if you have them activated):
|
||||||
- php_mysqli
|
- php_mysqli
|
||||||
- php_curl
|
- php_curl
|
||||||
- php_xmlrpc (TM only)
|
- php_xmlrpc (TM only)
|
||||||
|
- php_zlib
|
||||||
|
|
||||||
### 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
|
||||||
|
@ -77,6 +77,16 @@ class SystemUtil {
|
|||||||
Logger::log($message . 'FOUND!');
|
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) {
|
if (!$success) {
|
||||||
// Missing requirements
|
// Missing requirements
|
||||||
self::quit();
|
self::quit();
|
||||||
|
Loading…
Reference in New Issue
Block a user