mirror of
https://github.com/humhub/humhub.git
synced 2025-01-17 22:28:51 +01:00
* eth #6123: Requirement Checker proc_open * Update SelfTest.php * Update CHANGELOG-DEV.md * Update CHANGELOG-DEV.md --------- Co-authored-by: Lucas Bartholemy <luke-@users.noreply.github.com>
This commit is contained in:
parent
d7832a18de
commit
0a00ce7497
@ -29,3 +29,4 @@ HumHub Changelog (DEVELOP)
|
||||
- Enh #5625: Update jQuery UI to version 1.13
|
||||
- Enh #6144: Added ability to change/disable `Forgot your password?` link
|
||||
- Fix #4988: Unable to archive space on Form Validation errors
|
||||
- Enh #6123: Added check for `proc_open` function in Requirement Checker
|
||||
|
@ -407,6 +407,21 @@ class SelfTest
|
||||
];
|
||||
}
|
||||
|
||||
// Checks `proc_open` is on in Disabled Functions
|
||||
$title = 'PHP - ' . Yii::t('AdminModule.information', 'Disabled Functions');
|
||||
if (function_exists('proc_open')) {
|
||||
$checks[] = [
|
||||
'title' => $title,
|
||||
'state' => 'OK'
|
||||
];
|
||||
} else {
|
||||
$checks[] = [
|
||||
'title' => $title,
|
||||
'state' => 'WARNING',
|
||||
'hint' => Yii::t('AdminModule.information', 'Make sure that the `proc_open` function is not disabled.')
|
||||
];
|
||||
}
|
||||
|
||||
// Checks Database Data
|
||||
$checks = self::getDatabaseResults($checks);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user