module TrustyCms::Initializer

def deployed_as_app?


that extensions are not sufficient.
loaded as a gem or from vendor/. This is only likely in situations where radiant is customised so heavily
Returns true in the very unusual case where radiant has been deployed as a rails app itself, rather than
def deployed_as_app?
  TRUSTY_CMS_ROOT == Rails.root
end