Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F21908595
helpers.ex
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Size
466 B
Referenced Files
None
Subscribers
None
helpers.ex
View Options
# Pleroma: A lightweight social networking server
# Copyright © 2017-2020 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only
defmodule
Pleroma.Config.Helpers
do
alias
Pleroma.Config
def
instance_name
,
do
:
Config
.
get
([
:instance
,
:name
])
defp
instance_notify_email
do
Config
.
get
([
:instance
,
:notify_email
])
||
Config
.
get
([
:instance
,
:email
])
end
def
sender
do
{
instance_name
(),
instance_notify_email
()}
end
end
File Metadata
Details
Attached
Mime Type
text/x-ruby
Expires
Sun, Dec 28, 1:43 AM (3 m, 28 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
797905
Default Alt Text
helpers.ex (466 B)
Attached To
Mode
rPUBE pleroma-upstream
Attached
Detach File
Event Timeline
Log In to Comment