You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
373 B
13 lines
373 B
module CartoDB
|
|
module ConfigUtils
|
|
# if cartodb_com_hosted is false, means that it is SaaS. If it's true (or doesn't exist), it's a custom installation
|
|
def cartodb_com_hosted?
|
|
Cartodb.config[:cartodb_com_hosted].nil? || Cartodb.config[:cartodb_com_hosted]
|
|
end
|
|
|
|
def cartodb_onpremise_version
|
|
Cartodb.config[:onpremise_version]
|
|
end
|
|
end
|
|
end
|