We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
主要是 FoF Upload 默认添加的是绝对url,因此需要统一修改。以从https://flarum.example.com到https://flarum.example.net为例:
https://flarum.example.com
https://flarum.example.net
mysqldump -u flarum_user -p flarum_db > flarum_backup.sql
START TRANSACTION; UPDATE flarum_db.post_edit_histories SET content = REPLACE( content, 'https://flarum.example.com', 'https://flarum.example.net' ) WHERE content LIKE '%https://flarum.example.com%'; UPDATE flarum_db.posts SET content = REPLACE( content, 'https://flarum.example.com', 'https://flarum.example.net' ) WHERE content LIKE '%https://flarum.example.com%'; COMMIT;
/storage/cache
The text was updated successfully, but these errors were encountered:
No branches or pull requests
主要是 FoF Upload 默认添加的是绝对url,因此需要统一修改。以从
https://flarum.example.com
到https://flarum.example.net
为例:mysqldump -u flarum_user -p flarum_db > flarum_backup.sql
/storage/cache
缓存The text was updated successfully, but these errors were encountered: