* @author Froxlor team (2010-) * @license GPLv2 http://files.froxlor.org/misc/COPYING.txt * @package AJAX * */ function checkPhpInterfaceSetting($fieldname, $fielddata, $newfieldvalue, $allnewfieldvalues) { $returnvalue = array(FORMFIELDS_PLAUSIBILITY_CHECK_OK); if ((int)Settings::Get('system.mod_fcgid') == 1) { // fcgid only works for apache and lighttpd if (strtolower($newfieldvalue) != 'apache2' && strtolower($newfieldvalue) != 'lighttpd') { $returnvalue = array(FORMFIELDS_PLAUSIBILITY_CHECK_ERROR, 'fcgidstillenableddeadlock'); } } return $returnvalue; }