fonctionnel sans mails en https
This commit is contained in:
@ -2,6 +2,7 @@
|
||||
|
||||
require_once '../session_init.php';
|
||||
require_once 'config.inc.php';
|
||||
require_once 'fonctions.inc.php';
|
||||
|
||||
if ( isset($_GET["ok"] ))
|
||||
{
|
||||
@ -91,15 +92,20 @@
|
||||
fwrite($fhx, '}');
|
||||
fclose($fhx);
|
||||
}
|
||||
$fh = fopen("lang/lang.json","r");
|
||||
$fh = fopen("../lang/lang.json","r");
|
||||
$str = fgets($fh);
|
||||
fclose($fh);
|
||||
$lang = json_decode( $str, true);
|
||||
foreach ($lang as $key => $value)
|
||||
{
|
||||
getLang( $key );
|
||||
print $key;
|
||||
print json_last_error_msg() .EOL;
|
||||
print $key ." : ";
|
||||
if ( getLang($key, true) !== false )
|
||||
{
|
||||
print json_last_error_msg() . EOLH;
|
||||
}else
|
||||
{
|
||||
print "erreur à l'ouverture du fichier";
|
||||
}
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
Reference in New Issue
Block a user