diff --git a/install/index.php b/install/index.php index c5f10ff95..003b8d98d 100644 --- a/install/index.php +++ b/install/index.php @@ -74,7 +74,7 @@ if (file_exists($db_file_path)) { } // Only load the classes in case the user submitted the form -if($_POST) { +if ($_POST) { // Load the classes and create the new objects require_once('includes/core_class.php'); @@ -200,7 +200,7 @@ if($_POST) {
PHP Modules
| @@ -260,11 +261,12 @@ if($_POST) { | = $max_execution_time) { - ?> + if ($maxExecutionTime >= $max_execution_time) { ?> + if ($allChecksPassed != 'failed') { // Check current value before changing to 'warning' + $allChecksPassed = 'warning'; + } ?> | @@ -277,11 +279,12 @@ if($_POST) { ($max_upload_file_size * 1024 * 1024)) { // compare with given value in bytes - ?> + if ($maxUploadFileSizeBytes > ($max_upload_file_size * 1024 * 1024)) { // compare with given value in bytes ?> + if ($allChecksPassed != 'failed') { // Check current value before changing to 'warning' + $allChecksPassed = 'warning'; + }?> @@ -294,11 +297,12 @@ if($_POST) { ($post_max_size * 1024 * 1024)) { // compare with given value in bytes - ?> + if ($maxUploadFileSizeBytes > ($post_max_size * 1024 * 1024)) { // compare with given value in bytes ?> + if ($allChecksPassed != 'failed') { // Check current value before changing to 'warning' + $allChecksPassed = 'warning'; + } ?> @@ -313,7 +317,7 @@ if($_POST) { ?> On + $allChecksPassed = 'failed'; ?> Off @@ -321,16 +325,22 @@ if($_POST) {
All Checks are OK. You can continue.
-Some Checks have failed!
Check your PHP settings and install missing modules if necessary.
After that, you have to restart your webserver and start the installer again.
You have some warnings!
+Some of the settings are not optimal. You can proceed with the installer but
+be aware that you can run into problems while using Wavelog.
+All Checks are OK. You can continue.
+