[Vtigercrm-commits] [vtiger-commits] r7494 - /vtigercrm/branches/4.2/include/utils.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Sat Jun 24 18:08:39 EDT 2006
Author: allanbush
Date: Sat Jun 24 16:08:34 2006
New Revision: 7494
Log:
Including language files from sub modules when needed and avaiable. Closes #1366.
Modified:
vtigercrm/branches/4.2/include/utils.php
Modified: vtigercrm/branches/4.2/include/utils.php
==============================================================================
--- vtigercrm/branches/4.2/include/utils.php (original)
+++ vtigercrm/branches/4.2/include/utils.php Sat Jun 24 16:08:34 2006
@@ -274,6 +274,10 @@
$temp_mod_strings = $mod_strings;
$language_used = $language;
+
+ if(file_exists("modules/$module/language/$language.lang.php")) {
+ include("modules/$module/language/$language.lang.php");
+ }
if(!isset($mod_strings))
{
More information about the vtigercrm-commits
mailing list