debug de genere_lang.php

This commit is contained in:
Daniel Tartavel committed 2021-03-24 08:26:10 +01:00
1 parent c376abbb10
commit f3ed3e9f90
3 files changed
+33 -48

No files matched your search

+9
View File
@@ -27,11 +27,19 @@
$first_column_line = false;
}else
{
$index = explode("/",$column);
echo "opening ../lang/" . $index[0];
$fhl[++$i] = fopen("../lang/" . $index[0], "w") or die("can't open lang/" . $index[0]);
fwrite($fhl[$i], '{');
if ( $first_column == true )
{
$first_column = false;
}else
{
fwrite($fhIndex, ",");
}
fwrite($fhIndex, '"' . $index[0] . '":"' . $index[1] . '"');
}
echo EOL;
@@ -40,6 +48,7 @@
if (!empty($fhIndex))
{
fclose($fhIndex);
unset($fhIndex);
}
echo "not first_line =>";
if ( $first_column == true )