[Vtigercrm-commits] [vtiger-commits] r9451 - /vtigercrm/trunk/install/4createConfigFile.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Tue Sep 12 15:17:20 EDT 2006


Author: richie
Date: Tue Sep 12 13:17:13 2006
New Revision: 9451

Log:
made changes in default currency handling -- BY Philip

Modified:
    vtigercrm/trunk/install/4createConfigFile.php

Modified: vtigercrm/trunk/install/4createConfigFile.php
==============================================================================
--- vtigercrm/trunk/install/4createConfigFile.php (original)
+++ vtigercrm/trunk/install/4createConfigFile.php Tue Sep 12 13:17:13 2006
@@ -216,6 +216,9 @@
 						      	$buffer = str_replace( "_MAIL_PASSWORD_", $mail_server_password, $buffer);
 						      	$buffer = str_replace( "_DB_STAT_", "true", $buffer);
 				
+						      	/* replace the application unique key variable */
+				      			$buffer = str_replace( "_MASTER_CURRENCY_", $currency_name, $buffer);
+
 						      	/* replace the application unique key variable */
 					      		$buffer = str_replace( "_VT_APP_UNIQKEY_", md5($root_directory), $buffer);
 	
@@ -408,6 +411,8 @@
  	    $language_value .= ')';
  	}
  	$config .= "\$languages = $language_value;\n";
+	$config .= "// Master currency name\n";
+ 	$config .= "\$currency_name = '$currency_name';\n";
  	$config .= "// Default charset if the language specific character set is not found.\n";
  	$config .= "\$default_charset = 'ISO-8859-1';\n";
  	$config .= "// Default language in case all or part of the user's language pack is not available.\n";





More information about the vtigercrm-commits mailing list