aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoricewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-10 15:48:46 +0000
committericewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-10 15:48:46 +0000
commit032bfa62fe3c7c9ffb0d86b8cd37be22299793fd (patch)
tree2999eed563b9a576a5715a88845f95dd9889b577
parentff3ecf4342b96db1a2cd72f6b8c2ae14a735ac5c (diff)
downloadelgg-032bfa62fe3c7c9ffb0d86b8cd37be22299793fd.tar.gz
elgg-032bfa62fe3c7c9ffb0d86b8cd37be22299793fd.tar.bz2
git-svn-id: https://code.elgg.org/elgg/trunk@856 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--engine/lib/languages.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/engine/lib/languages.php b/engine/lib/languages.php
index e8ff9a686..b8b5caa6f 100644
--- a/engine/lib/languages.php
+++ b/engine/lib/languages.php
@@ -76,7 +76,11 @@
*
* @param string $path Full path
*/
- function register_translations($path) {
+ function register_translations($path) {
+ global $CONFIG;
+
+ if ($CONFIG->debug) error_log("Translations loaded from : $path");
+
if ($handle = opendir($path)) {
while ($language = readdir($handle)) {
if (!in_array($language,array('.','..','.svn','CVS')) && !is_dir($path . $language)) {