/** * Checks system settings before indexing. * @param array &$aErrorMessageKeys with keys to be filled as keys of error messages * @return bool true if system's settings are ok to run with */ public static function areYouAbleToRunWithSystemSettings(&$aErrorMessageKeys = array()) { if (!ini_get('allow_url_fopen')) { $aErrorMessageKeys['no_allow_url_include'] = true; } return parent::areYouAbleToRunWithSystemSettings($aErrorMessageKeys); }