[grisbi-cvs] grisbi-web/newsportal config.inc.php,1.3,1.4

NIEL GĂ©rald gegeweb at users.sourceforge.net
Mon May 24 18:11:45 CEST 2010


Update of /cvsroot/grisbi/grisbi-web/newsportal
In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv27910/newsportal

Modified Files:
	config.inc.php 
Log Message:

site intergration

Index: config.inc.php
===================================================================
RCS file: /cvsroot/grisbi/grisbi-web/newsportal/config.inc.php,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- config.inc.php	24 May 2010 16:04:25 -0000	1.3
+++ config.inc.php	24 May 2010 16:11:43 -0000	1.4
@@ -20,7 +20,8 @@
 $file_attachment="attachment.php";
 $file_post="post.php";
 $file_cancel="cancel.php";
-$file_language="lang/english.lang";
+// $file_language="lang/english.lang";
+if (file_exists ("lang/$lang.lang")) $file_language="lang/$lang.lang";
 $file_footer="";
 $file_groups="groups.txt";
 
@@ -180,5 +181,6 @@
 // load the english language definitions first because some of the other
 // definitions are incomplete
 include("lang/english.lang"); 
-include($file_language);
+// include($file_language);
+if (isset($file_language)) include($file_language);
 ?>



More information about the cvs mailing list