migrated a few functions to new Settings class and removed unused function createAWStatsVhost(), refs #1325
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
@@ -18,11 +18,9 @@
|
||||
|
||||
function checkPhpInterfaceSetting($fieldname, $fielddata, $newfieldvalue, $allnewfieldvalues) {
|
||||
|
||||
global $settings;
|
||||
|
||||
$returnvalue = array(FORMFIELDS_PLAUSIBILITY_CHECK_OK);
|
||||
|
||||
if ((int)$settings['system']['mod_fcgid'] == 1) {
|
||||
if ((int)Settings::Get('system.mod_fcgid') == 1) {
|
||||
// now check if we enable a webserver != apache
|
||||
if (strtolower($newfieldvalue) != 'apache2') {
|
||||
$returnvalue = array(FORMFIELDS_PLAUSIBILITY_CHECK_ERROR, 'fcgidstillenableddeadlock');
|
||||
|
||||
Reference in New Issue
Block a user