From 0069e3f6689b8d59b0d10958be71928afb6fa156 Mon Sep 17 00:00:00 2001 From: marcus Date: Tue, 3 Mar 2009 13:24:54 +0000 Subject: Removed directory test to languages since it's probably fair to assume that this isn't going to be the case git-svn-id: https://code.elgg.org/elgg/trunk@3036 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/languages.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engine/lib/languages.php') diff --git a/engine/lib/languages.php b/engine/lib/languages.php index 575f3679b..390147100 100644 --- a/engine/lib/languages.php +++ b/engine/lib/languages.php @@ -139,8 +139,8 @@ while ($language = readdir($handle)) { if ( - ((in_array($language, array('en.php', $current_language . '.php'))) && (!is_dir($path . $language))) || - (($load_all) && (strpos($language, '.php')!==false) && (!is_dir($path . $language))) + ((in_array($language, array('en.php', $current_language . '.php'))) /*&& (!is_dir($path . $language))*/) || + (($load_all) && (strpos($language, '.php')!==false)/* && (!is_dir($path . $language))*/) ) include_once($path . $language); -- cgit v1.2.3