diff options
Diffstat (limited to 'engine/lib/languages.php')
-rw-r--r-- | engine/lib/languages.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/languages.php b/engine/lib/languages.php index b8b5caa6f..be3cf6e54 100644 --- a/engine/lib/languages.php +++ b/engine/lib/languages.php @@ -79,7 +79,7 @@ function register_translations($path) { global $CONFIG; - if ($CONFIG->debug) error_log("Translations loaded from : $path");
+ if (isset($CONFIG->debug) && $CONFIG->debug == true) error_log("Translations loaded from : $path");
if ($handle = opendir($path)) {
while ($language = readdir($handle)) {
|