git.p6c8.net
/
jirafeau.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[TASK] reword file_hash option
[jirafeau.git]
/
lib
/
lang.php
diff --git
a/lib/lang.php
b/lib/lang.php
index 48e247c0ab492f06b6a663ae6cda01b065cdf86a..bd7478c304bd4e29d6939f89cbff314cb1a38746 100644
(file)
--- a/
lib/lang.php
+++ b/
lib/lang.php
@@
-1,7
+1,7
@@
<?php
/*
* Jirafeau, your web file repository
<?php
/*
* Jirafeau, your web file repository
- * Copyright (C) 2015 Jerome Jutteau <j
.jutteau@gmail.com
>
+ * Copyright (C) 2015 Jerome Jutteau <j
erome@jutteau.fr
>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
@@
-76,7
+76,7
@@
function t_in($string_id, $lang) {
function t_get_raw_json($lang) {
$filename = str_replace("-", "_", $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";
return false;
}
$p = JIRAFEAU_ROOT . "lib/locales/$filename.json";
patrick-canterino.de