Skip to content
Snippets Groups Projects
Commit a39cb8d5 authored by Bob Mottram's avatar Bob Mottram
Browse files

webroot path

parent 51854014
No related branches found
No related tags found
No related merge requests found
......@@ -463,9 +463,9 @@ function pleroma_add_emoji {
fi
if ! grep -q "${shortcode}," $image_filename; then
echo "${shortcode}, /custom_emoji/${shortcode}.${image_extension}" >> $PLEROMA_DIR/config/emoji.txt
echo "${shortcode}, /emoji/${shortcode}.${image_extension}" >> $PLEROMA_DIR/config/emoji.txt
else
sed -i "s|${shortcode},.*|${shortcode}, /custom_emoji/${shortcode}.${image_extension}|g" $PLEROMA_DIR/config/emoji.txt
sed -i "s|${shortcode},.*|${shortcode}, /emoji/${shortcode}.${image_extension}|g" $PLEROMA_DIR/config/emoji.txt
fi
chown -R pleroma:pleroma $PLEROMA_DIR
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment