forked from ZwiiCMS-Team/ZwiiCMS
v9.0.0 fisx core file name in import
This commit is contained in:
parent
249f6023f3
commit
33d880344b
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user