// The MimeTeX plugin support, a check whether the server executable file has been installed.
define ( 'CHECK_MIMETEX_PLUGIN_INSTALLED', true ) ; // Change to false in case of unexpected problems. Then installed state will be assumed.
define ( 'CHECK_MIMETEX_PLUGIN_INSTALLED_TIMEOUT', 0.05 ) ; // Response timeout in seconds. Keep this value as low as possible on Windows servers.
define ( 'CHECK_MIMETEX_PLUGIN_INSTALLED_URL_BASE', // This setting is about how to check mimetex executable presense. Possible values: 'ip' and 'domain_name'
IS_WINDOWS_OS
? 'ip' // http://127.0.0.1/mimetex.exe will be checked for presense,
// this is a preferable setting for Windows Vista, because its firewall does not block this address by default.
: 'domain_name' // http://www.mydokeos.com/mimetex.cgi will be checked for presense. If DNS has problems (if it is slow for example). try using the 'ip' setting.
) ;
function FCKeditor_IsCompatibleBrowser()
{
if ( isset( $_SERVER ) ) {
@ -408,7 +397,7 @@ class FCKeditor
$this->get_repository_configuration(),
self::get_media_configuration(),
self::get_user_configuration_data(),
self::get_mimetex_plugin_configuration()
$this->get_mimetex_plugin_configuration()
);
}
@ -592,19 +581,43 @@ class FCKeditor
* @return array
*/
private function & get_mimetex_plugin_configuration() {