Skip to content
This repository has been archived by the owner on Nov 18, 2017. It is now read-only.

[FEATURE] Show values if check is ok #7

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions typo3-probe.php
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ protected function checkMaximumFileUploadSize() {
);
} else {
$status = new OkStatus();
$status->setTitle('Maximum file upload size is higher or equal to 10MB');
$status->setTitle('Maximum file upload size is higher or equal to 10MB ('.ini_get('upload_max_filesize').'));
}
return $status;
}
Expand Down Expand Up @@ -365,7 +365,7 @@ protected function checkMemorySettings() {
);
} else {
$status = new OkStatus();
$status->setTitle('Memory limit equal 64MB or more');
$status->setTitle('Memory limit equal 64MB or more ('.ini_get('memory_limit').')');
}
return $status;
}
Expand Down Expand Up @@ -398,7 +398,7 @@ protected function checkPhpVersion() {
);
} else {
$status = new OkStatus();
$status->setTitle('PHP version is fine');
$status->setTitle('PHP version is fine ('.$currentPhpVersion.')');
}
return $status;
}
Expand Down Expand Up @@ -441,7 +441,7 @@ protected function checkMaxExecutionTime() {
);
} else {
$status = new OkStatus();
$status->setTitle('Maximum PHP script execution equals ' . $recommendedMaximumExecutionTime . ' or more');
$status->setTitle('Maximum PHP script execution equals ' . $recommendedMaximumExecutionTime . ' or more ('.$currentMaximumExecutionTime.')');
}
return $status;
}
Expand Down Expand Up @@ -1324,12 +1324,12 @@ function printStatus($statuses) {
<?= printStatus($statuses); ?>

<footer>
<p><a href="https://github.com/7elix/TYPO3-Probe" target="_blank">TYPO3 Probe</a>. Copyright © 2013 Felix Kopp; based on install check by Christian Kuhn. Extensions are copyright of their respective owners. Go to <a href="http://typo3.org/" target="_blank">http://typo3.org/</a> for details.<br />
<p><a href="https://github.com/7elix/TYPO3-Probe" target="_blank">TYPO3 Probe</a>. Copyright &copy; 2013 Felix Kopp; based on install check by Christian Kuhn. Extensions are copyright of their respective owners. Go to <a href="http://typo3.org/" target="_blank">http://typo3.org/</a> for details.<br />
TYPO3 CMS and TYPO3 Probe comes with ABSOLUTELY NO WARRANTY; <a href="http://typo3.org/license" target="_blank">click for details</a>. This is free software, and you are welcome to redistribute it under certain conditions; <a href="http://typo3.org/license" target="_blank">click for details</a>. Obstructing the appearance of this notice is prohibited by law.</p>

<p><a href="http://typo3.org/" target="_blank">TYPO3.org</a> &#124; <a href="http://typo3.org/donate/" target="_blank">Donate</a></p>

<p><strong><a href="https://github.com/7elix/TYPO3-Probe/issues" target="_blank">Report bugs for TYPO3 Probe</a></strong></p>
</footer>
</body>
</html>
</html>