1
0
Fork 0
mirror of https://gitlab.easter-eggs.com/ee/ldapsaisie.git synced 2024-12-25 01:43:55 +01:00

Translation : Improved generate_lang_file.php to support inclusion of more than one translation file

This commit is contained in:
Benjamin Renard 2010-11-18 16:23:32 +01:00
parent ffe93fbbb4
commit 8013827839

View file

@ -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();