aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/languages.php
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-03-03 13:24:54 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-03-03 13:24:54 +0000
commit0069e3f6689b8d59b0d10958be71928afb6fa156 (patch)
tree57e35cfebf22a475ef0380093ec0c9a5b6130621 /engine/lib/languages.php
parent51140af8ceb4ae08847a7ef4800bbd022f542513 (diff)
downloadelgg-0069e3f6689b8d59b0d10958be71928afb6fa156.tar.gz
elgg-0069e3f6689b8d59b0d10958be71928afb6fa156.tar.bz2
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
Diffstat (limited to 'engine/lib/languages.php')
-rw-r--r--engine/lib/languages.php4
1 files changed, 2 insertions, 2 deletions
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);