aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
Diffstat (limited to 'engine')
-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)) {