hypejunction/elgg-mb4
Composer 安装命令:
composer require hypejunction/elgg-mb4
包简介
Adds multibyte (emoji) support
关键字:
README 文档
README
BACKUP YOUR DATABASE BEFORE DOING ANYTHING WITH THIS PLUGIN
FOR EXPERIENCED DEVELOPERS ONLY
Features
- Alters database table encoding to utf8mb4 to support emojis
Usage
After enabling the plugin, run the Upgrade from Admin dashboard.
In composer.json of your project root, add:
{
"autoload": {
"psr-4": {
"Elgg\\": "mod/elgg-mb4/classes/Elgg/"
}
}
}
You can also use the autoload option to specify a path to a different version of the Database class that corresponds to your Elgg version.
Important
This plugin hijacks the Elgg Database class to override the hardcoded encoding - very unconventional approach, but the encoding is hardcoded in core files. Therefore, you must make sure the Database class in this plugin corresponds to the core Database class in your Elgg version.
If you don't know what this means and entails, don't use this plugin
统计信息
- 总下载量: 34
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0
- 更新时间: 2019-02-14