fixes #85: Emailed message of Password Reset Request

This commit is contained in:
albert
2011-09-18 15:47:15 -04:00
parent 02579a911f
commit 19e052724c
5 changed files with 11 additions and 8 deletions

View File

@@ -1,3 +1,5 @@
require 'socket'
module Danbooru
class Configuration
# The version of this Danbooru.
@@ -10,6 +12,11 @@ module Danbooru
"Danbooru"
end
# The hostname of the server.
def hostname
Socket.gethostname
end
# Contact email address of the admin.
def contact_email
"webmaster@#{server_host}"