Index: trunk/CHANGELOG
===================================================================
--- trunk/CHANGELOG	(revision 938)
+++ trunk/CHANGELOG	(revision 939)
@@ -12,6 +12,7 @@
 
 ------------------------------------- 2.8.0 -------------------------------------
 19-Feb-2009 Christian Sommer
+#	fixed bug if language folder contains none language files (XX.php) or sub folders
 +	added option to invoke module upgrade.php/uninstall.php files from backend (for modules uploaded via FTP)
 18-Feb-2009 Dietrich Roland Pehlke (aldus)
 #	fixed: typos in the section_id inside the action-link 
Index: trunk/wb/framework/functions.php
===================================================================
--- trunk/wb/framework/functions.php	(revision 938)
+++ trunk/wb/framework/functions.php	(revision 939)
@@ -758,7 +758,7 @@
 // Load language into DB
 function load_language($file) {
 	global $database;
-	if(file_exists($file)) {
+	if (file_exists($file) && preg_match('#^([A-Z]{2}.php)#', basename($file))) {
 		require($file);
 		if(isset($language_name)) {
 			if(!isset($language_license)) { $language_license = 'GNU General Public License'; }
