aboutsummaryrefslogtreecommitdiffstats
path: root/include/functions.inc.php
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2008-03-08 01:38:37 +0000
committerrvelices <rv-github@modusoptimus.com>2008-03-08 01:38:37 +0000
commitfe23062161d1e50a97685822c8ab94cdc2d43263 (patch)
treee3455673a4ebedc519afc03b1195a21eb4edb398 /include/functions.inc.php
parentc68914a3b962b39f341eb4a42f467f7c1143a8b9 (diff)
- upload.tpl goes smarty
- start some language cleanup and a small attempt to standardize a bit ... - debug_language now calls trigger_error instead of echo when missing language key git-svn-id: http://piwigo.org/svn/trunk@2265 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include/functions.inc.php')
-rw-r--r--include/functions.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/functions.inc.php b/include/functions.inc.php
index bc08ce41d..ff0ca41b0 100644
--- a/include/functions.inc.php
+++ b/include/functions.inc.php
@@ -1084,7 +1084,7 @@ function l10n($key)
if ($conf['debug_l10n'] and !isset($lang[$key]) and !empty($key))
{
- echo '[l10n] language key "'.$key.'" is not defined<br />';
+ trigger_error('[l10n] language key "'.$key.'" is not defined', E_USER_NOTICE);
}
return isset($lang[$key]) ? $lang[$key] : $key;