v9.0.0 fisx core file name in import

This commit is contained in:
fredtempez 2018-12-25 14:00:30 +01:00
parent 249f6023f3
commit 33d880344b

View File

@ -549,7 +549,7 @@ class common {
$tempData = [json_decode(file_get_contents('site/data/data.json'), true)]; $tempData = [json_decode(file_get_contents('site/data/data.json'), true)];
if($tempData) { if($tempData) {
for($i = 0; $i < 3; $i++) { for($i = 0; $i < 3; $i++) {
if(file_put_contents('site/data/theme.json', json_encode(array_slice($tempData[0],0,5)), LOCK_EX) !== false) { if(file_put_contents('site/data/core.json', json_encode(array_slice($tempData[0],0,5)), LOCK_EX) !== false) {
break; break;
} }
// Pause de 10 millisecondes // Pause de 10 millisecondes