Hello, (scuse my english)
I found a bothering enough mistake in file install.php
Line 437:
$fp = fopen($filename, ' w');
This method creates of lines supplementary emptiness has the creation of files and increase their size of Ko plusieur but most annoying is that this mistake prevents the normal use of mod and their installation
Instead me uses:
$fp = fopen($filename, ' wb');
the variable b is ignored automatic when there is not need of it
http://www.php.net/manual/fr/function.fopen.php
{
if (in_array(substr($filename, -4), array('.php', '.lng', '.txt')))
$fp = fopen($filename, 'wb');
else
$fp = fopen($filename, 'wb');
fputs($fp, fread($ya, $data[2]), $data[2]);
fclose($fp);
chmod($filename, 0666);
touch($filename, $data[3]);
echo '
Ecriture de <i>' . $filename . '</i> réussie.<br />';
}
Is now
{
$fp = fopen($filename, 'wb');
fputs($fp, fread($ya, $data[2]), $data[2]);
fclose($fp);
chmod($filename, 0666);
touch($filename, $data[3]);
echo '
Ecriture de <i>' . $filename . '</i> réussie.<br />';
}
But i am a novice in PHP langage,
I can make mistakes
If I explained myself badly contact me, so possible in French,