From 0c70a094b6b2756226f2a948bb159a913301f040 Mon Sep 17 00:00:00 2001 From: jianghgr Date: Sun, 19 May 2019 03:55:53 +0900 Subject: [PATCH] xctcc/embrr --- README.md | 49 ------------------------------------------------- 1 file changed, 49 deletions(-) diff --git a/README.md b/README.md index 3919567..71a8233 100644 --- a/README.md +++ b/README.md @@ -36,52 +36,3 @@ Notes If you're having issues changing pages or sending DMs, try modify your `php.ini` as follows: precision = 24 ;Use a value lager than 19 to replace the default 14 - ----- - -embrr, 一个修改版的 embr -======== - -这是一个从 [embr](https://code.google.com/p/embr/) 修改而来的 twitter 网页端,主要基于 `r91` 版本并合并了后续修订版的必要更新,升级到了 Twitter REST API `v1.1` 并有一些功能上的改进。 - -如果不想使用 `git-clone` 获取代码,可以点[这里](https://github.com/AstroProfundis/embrr/zipball/master)下载当前版本的 zip 压缩包。 - -安装方法 --------- -安装 embrr 的方法和 embr 原版基本相同,只需要下载代码包,重命名 `/lib` 中的 `config.sample.php` 文件为 `config.php`, 编辑此配置文件填入适当的 app 信息,再将代码上传至网站空间即可。 - -有几点值得注意的地方是: - - * embrr 依赖于 `php-curl` 和 `php-bcmath` 组件 - * 虽然不是必需依赖,但建议安装 `php-mcrypt` 组件 - * embrr 兼容 PHP 5.2 至 5.5 的版本,我们没有测试过 5.1 及之前版本 - -在二级目录中安装 --------- -如果需要将 embrr 安装在二级目录中,例如安装在 `/embrr` 中,则需要修改 `.htaccess` 文件,使用 `/embrr/user.php` 与 `/embrr/status.php` 替换 `/user.php` 和 `/status.php`. - -nginx --------- -对于 nginx 用户,需要在配置文件中加入以下代码: - - location / { - if (!-f $request_filename) { - rewrite ^/(\d+)$ /status.php?id=$1 last; - rewrite ^/(\w+)$ /user.php?id=$1 last; - break; - } - } -同样,如果在二级目录中安装则需适当调整。 - -附注 --------- -如果翻页或者发送 DM 时遇到问题,尝试在 `php.ini` 中做如下修改: - - precision = 24 ;使用大于 19 的值替换默认值 14 - ----- -As I'm not an expert of PHP nor twitter API, do expect bugs everywhere. - -All helps are welcomed! - -请做好 bug 满天飞的心理准备以及欢迎拍砖和协助修改。 -- 2.11.0