debug de genere_lang.php
This commit is contained in:
@ -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 )
|
||||
|
Reference in New Issue
Block a user