diff options
author | tschuettler <[email protected]> | 2018-08-02 17:23:14 +0200 |
---|---|---|
committer | tschuettler <[email protected]> | 2018-08-02 18:00:50 +0200 |
commit | 31b40448fd4a08032f562ce171a66c6952370f60 (patch) | |
tree | 984bd0fd2c46e8ead30b3e3dfe9cc1d814f002c3 /plugins/af_lang_detect/languagedetect/data/build-unicode_blocks.php | |
parent | c925f4e3fdad04442c5c2f542883dbd26c81cc23 (diff) |
Update af_lang_detect plugin with changes from upstream
Reapplied downstream changes for phpmd ruleset
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)); + |