1
0

fonctionnel sans mails en https

This commit is contained in:
Daniel Tartavel
2021-05-31 12:27:51 +02:00
parent 7e015a3d1b
commit 3c303efeb9
16 changed files with 564 additions and 135 deletions

View File

@ -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";
}
}
}
?>