* @author Froxlor team (2010-) * @license GPLv2 http://files.froxlor.org/misc/COPYING.txt * @package AJAX * */ function checkPhpInterfaceSetting($fieldname, $fielddata, $newfieldvalue, $allnewfieldvalues) { global $settings; $returnvalue = array(FORMFIELDS_PLAUSIBILITY_CHECK_OK); if ((int)$settings['system']['mod_fcgid'] == 1) { // now check if we enable a webserver != apache if (strtolower($newfieldvalue) != 'apache2') { $returnvalue = array(FORMFIELDS_PLAUSIBILITY_CHECK_ERROR, 'fcgidstillenableddeadlock'); } } return $returnvalue; }