git.p6c8.net
/
jirafeau_project.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
dayly cleanup
[jirafeau_project.git]
/
lib
/
lang.php
diff --git
a/lib/lang.php
b/lib/lang.php
index 48e247c0ab492f06b6a663ae6cda01b065cdf86a..3bdef6a5cff622680489acd3d9cc828cd3ae1a3c 100644
(file)
--- a/
lib/lang.php
+++ b/
lib/lang.php
@@
-76,7
+76,7
@@
function t_in($string_id, $lang) {
function t_get_raw_json($lang) {
$filename = str_replace("-", "_", $lang);
- if (preg_match('/[^A-Za-z_\w]/', $
input
)) {
+ if (preg_match('/[^A-Za-z_\w]/', $
filename
)) {
return false;
}
$p = JIRAFEAU_ROOT . "lib/locales/$filename.json";
patrick-canterino.de