mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-12-18 22:43:47 +01:00
Translation : Improved generate_lang_file.php to support inclusion of more than one translation file
This commit is contained in:
parent
ffe93fbbb4
commit
8013827839
1 changed files with 7 additions and 2 deletions
|
@ -24,8 +24,13 @@
|
||||||
require_once('../core.php');
|
require_once('../core.php');
|
||||||
require_once('../conf/config.inc.php');
|
require_once('../conf/config.inc.php');
|
||||||
|
|
||||||
if (isset($argv[2]) && is_file($argv[2])) {
|
if ($argc > 1) {
|
||||||
@include($argv[2]);
|
for ($i=1;$i<$argc;$i++) {
|
||||||
|
if (is_file($argv[$i])) {
|
||||||
|
echo $argv[$i];
|
||||||
|
@include($argv[$i]);
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$data=array();
|
$data=array();
|
||||||
|
|
Loading…
Reference in a new issue