add stripe integration for safebooru

This commit is contained in:
r888888888
2014-10-28 11:05:21 -07:00
parent 8096fd388c
commit cbf48ad948
20 changed files with 337 additions and 31 deletions

View File

@@ -9,7 +9,11 @@ module Danbooru
# The name of this Danbooru.
def app_name
"Danbooru"
if CurrentUser.safe_mode?
"Safebooru"
else
"Danbooru"
end
end
# The hostname of the server.
@@ -322,5 +326,13 @@ module Danbooru
def shared_dir_path
"/var/www/danbooru2/shared"
end
def stripe_secret_key
"sk_test_kHviyCxbt9kBxeu46TeefJQH"
end
def stripe_publishable_key
"pk_test_5lKN65jYpUw8EActq8RMkQxH"
end
end
end