Browse Source

make comment text more readable

Juan Carlos Raña 14 years ago
parent
commit
90516165b4
1 changed files with 25 additions and 22 deletions
  1. 25 22
      main/inc/lib/fckeditor/myconfig.php

+ 25 - 22
main/inc/lib/fckeditor/myconfig.php

@@ -152,29 +152,33 @@ if ((api_get_setting('enabled_googlemaps') == 'true')) {
 if ((api_get_setting('math_mimetex') == 'true')) {
     $config['LoadPlugin'][] = 'mimetex';
 	// in your server configuration have to be done. The MimeTex executable file has to be installed, see the installation guide.
-	// Some additional settings become active only when the 'mimetex' plugin has been enabled:
-	//
-	// The following setting determines whether MimeTeX executable file has been installed on the server or not. This file should be accessible
-	// for browsers at address http://mysite.com/cgi-bin/mimetex.cgi (Linux) or at address http://mysite.com/cgi-bin/mimetex.exe (Windows).
-	// How to test manually: Open your browser and enter in the address bar something like http://mysite.com/cgi-bin/mimetex.cgi?hello
-	// By default, the system tries to detect the MimeTeX executable file automatically.
-	// If you are sure that the MimeTeX executable has been correctly installed, you may set this option to boolean true value.
 	
-	//$config['MimetexExecutableInstalled'] = 'detect'; // 'detect' (default), true, false
+	//mimetex checking has been commented that in some system makes loading very slow	
 	
-	// Sometimes detection fails (due to slow DNS service, security restrictions, ...). For better probability of success,
-	// the following methods for detection have been defined:
-	// 'bootstrap_ip'   - detection is tried at address like http://127.0.0.1/cgi-bin/mimetex.cgi
-	// 'localhost'      - detection is tried at address like http://localhost/cgi-bin/mimetex.cgi
-	// 'ip'             - detection is tried at ip address, for example http://192.168.0.1/cgi-bin/mimetex.cgi
-	// 'server_name'    - detection is tried at address based on server's name, for example http://mysite.com/cgi-bin/mimetex.cgi
-	//if (IS_WINDOWS_OS) {
-		//$config['MimetexExecutableDetectionMethod'] = 'bootstrap_ip'; // 'bootstrap_ip' for better chance on Windows (no firewall blocking).
-	//} else {
-		//$config['MimetexExecutableDetectionMethod'] = 'server_name';
-	//}
-	// Timeout for MimeTeX executable file detection - keep this value as low as possible, especially on Windows servers.
-	//$config['MimetexExecutableDetectionTimeout'] = 0.05;
+		// Some additional settings become active only when the 'mimetex' plugin has been enabled:
+		//
+		// The following setting determines whether MimeTeX executable file has been installed on the server or not. This file should be accessible
+		// for browsers at address http://mysite.com/cgi-bin/mimetex.cgi (Linux) or at address http://mysite.com/cgi-bin/mimetex.exe (Windows).
+		// How to test manually: Open your browser and enter in the address bar something like http://mysite.com/cgi-bin/mimetex.cgi?hello
+		// By default, the system tries to detect the MimeTeX executable file automatically.
+		// If you are sure that the MimeTeX executable has been correctly installed, you may set this option to boolean true value.
+		
+		//$config['MimetexExecutableInstalled'] = 'detect'; // 'detect' (default), true, false
+		
+		// Sometimes detection fails (due to slow DNS service, security restrictions, ...). For better probability of success,
+		// the following methods for detection have been defined:
+		// 'bootstrap_ip'   - detection is tried at address like http://127.0.0.1/cgi-bin/mimetex.cgi
+		// 'localhost'      - detection is tried at address like http://localhost/cgi-bin/mimetex.cgi
+		// 'ip'             - detection is tried at ip address, for example http://192.168.0.1/cgi-bin/mimetex.cgi
+		// 'server_name'    - detection is tried at address based on server's name, for example http://mysite.com/cgi-bin/mimetex.cgi
+		
+		//if (IS_WINDOWS_OS) {
+			//$config['MimetexExecutableDetectionMethod'] = 'bootstrap_ip'; // 'bootstrap_ip' for better chance on Windows (no firewall blocking).
+		//} else {
+			//$config['MimetexExecutableDetectionMethod'] = 'server_name';
+		//}
+		// Timeout for MimeTeX executable file detection - keep this value as low as possible, especially on Windows servers.
+		//$config['MimetexExecutableDetectionTimeout'] = 0.05;
 }
 
 
@@ -202,7 +206,6 @@ if ((api_get_setting('enabled_imgmap') == 'true')) {
 // wikilink : Adds a dialog for inserting wiki-formatted links.
 $config['LoadPlugin'][] = 'wikilink';
 
-
 /*
  * File manager.
  */