Sha256: 4a985c96e11eb0193092e46a25f05d93eb35e17a1ecf4bbcd125f1f970c8c4ee

Contents?: true

Size: 1.55 KB

Versions: 7

Compression:

Stored size: 1.55 KB

Contents

#
# define constants related to configurable behaviors (change to proper config.imagine_cms.X later)
# for now, to override at the site-level:
#   Object.send(:remove_const, :UseCmsPageCaching)
#   UseCmsPageCaching = false
#

# Shouldn't need to adjust these
ContentIgnoreDirectories = [ '.svn', 'CVS' ] unless defined? ContentIgnoreDirectories
ContentIgnoreFilesRE = /^\./ unless defined? ContentIgnoreFilesRE
ContentExcludeFiles = [ 'index' ] unless defined? ContentExcludeFiles
UseCmsPageCaching = false unless defined? UseCmsPageCaching
# UseCmsPageDatabase = CmsPage.table_exists? unless defined? UseCmsPageDatabase
UseCmsAccessLevels = false unless defined? UseCmsAccessLevels
EnableAssetTimestamping = true unless defined? EnableAssetTimestamping

CmsImageMaxWidth = 2500 unless defined? CmsImageMaxWidth
CmsImageMaxHeight = 2500 unless defined? CmsImageMaxHeight

# CMS gallery setup
GalleryMaxWidth = 586 unless defined? GalleryMaxWidth
GalleryMaxHeight = 400 unless defined? GalleryMaxHeight
GalleryThumbWidth = 50 unless defined? GalleryThumbWidth
GalleryThumbHeight = 50 unless defined? GalleryThumbHeight

# SSL settings
SSL_REDIRECTS_ON = false unless defined?(SSL_REDIRECTS_ON)
SSL_STANDARD_HOST = 'localhost' unless defined?(SSL_STANDARD_HOST)
SSL_SECURE_HOST = '127.0.0.1' unless defined?(SSL_SECURE_HOST)
# if using non-standard ports, also set these:
# SSL_STANDARD_PORT = 80
# SSL_SECURE_PORT = 443

# Member component
Member_AllowEmailAsLogin = true unless defined? Member_AllowEmailAsLogin
Member_RequireMembername = false unless defined? Member_RequireMembername

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
imagine_cms-5.2.6 config/initializers/constants.rb
imagine_cms-5.2.5 config/initializers/constants.rb
imagine_cms-5.2.4 config/initializers/constants.rb
imagine_cms-5.2.3 config/initializers/constants.rb
imagine_cms-5.2.2 config/initializers/constants.rb
imagine_cms-5.2.1 config/initializers/constants.rb
imagine_cms-5.2.0 config/initializers/constants.rb