Merge pull request #3987 from gschlager/phpbb3-importer

Small changes to the phpBB3 importer
This commit is contained in:
Régis Hanol 2016-02-06 11:11:27 +01:00
commit fb3c6d1084
2 changed files with 3 additions and 2 deletions

View file

@ -16,8 +16,9 @@ import:
# This is the path to the root directory of your current phpBB installation (or a copy of it).
# The importer expects to find the /files and /images directories within the base directory.
# You need to change this to something like /var/www/phpbb if you are not using the Docker based importer.
# This is only needed if you want to import avatars, attachments or custom smilies.
phpbb_base_dir: /var/www/phpbb
phpbb_base_dir: /shared/import/data
site_prefix:
# this is needed for rewriting internal links in posts

View file

@ -28,7 +28,7 @@ module ImportScripts::PhpBB3
def add_default_smilies
{
[':D', ':-D', ':grin:'] => ':smiley:',
[':)', ':-)', ':smile:'] => ':smile:',
[':)', ':-)', ':smile:'] => ':slightly_smiling:',
[';)', ';-)', ':wink:'] => ':wink:',
[':(', ':-(', ':sad:'] => ':frowning:',
[':o', ':-o', ':eek:'] => ':astonished:',