diff options
author | fox <[email protected]> | 2018-08-07 11:18:05 +0000 |
---|---|---|
committer | Gogs <[email protected]> | 2018-08-07 11:18:05 +0000 |
commit | c3d57017d3f21bf2855aa4c0407d0b8c0e53c243 (patch) | |
tree | f96d305931b645bd0082003fba9cb9c11306bc89 /plugins/af_lang_detect/languagedetect/data/build-unicode_blocks.php | |
parent | 03fff1e95e839a8cd36dc6d7032be0d16eff35f7 (diff) | |
parent | 31b40448fd4a08032f562ce171a66c6952370f60 (diff) |
Merge branch 'update-language-detect-plugin' of tschuettler/tt-rss into master
Diffstat (limited to 'plugins/af_lang_detect/languagedetect/data/build-unicode_blocks.php')
-rw-r--r-- | plugins/af_lang_detect/languagedetect/data/build-unicode_blocks.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/plugins/af_lang_detect/languagedetect/data/build-unicode_blocks.php b/plugins/af_lang_detect/languagedetect/data/build-unicode_blocks.php new file mode 100644 index 000000000..128e9ed95 --- /dev/null +++ b/plugins/af_lang_detect/languagedetect/data/build-unicode_blocks.php @@ -0,0 +1,7 @@ +<?php +/** + * Generate the serialized unicode_blocks.dat file shipped with the package + */ +$unicode_blocks = include __DIR__ . '/unicode_blocks.php'; +file_put_contents(__DIR__ . '/unicode_blocks.dat', serialize($unicode_blocks)); + |