|
@@ -40,7 +40,7 @@ |
|
|
block discarded – undo |
|
40
|
40
|
$content = file_get_contents($file); |
|
41
|
41
|
$array = []; |
|
42
|
42
|
$array[$data['bind']][$data['name']]['text'] = 'HELLO WORLD'; |
|
43
|
|
- $content .= PHP_EOL . PHP_EOL. $this->scriptTags['open'] . PHP_EOL . |
|
|
43
|
+ $content .= PHP_EOL . PHP_EOL . $this->scriptTags['open'] . PHP_EOL . |
|
44
|
44
|
json_encode($array, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES) . PHP_EOL . $this->scriptTags['close'] . PHP_EOL; |
|
45
|
45
|
file_put_contents($file, $content); |
|
46
|
46
|
} |
Please login to merge, or discard this patch.