Guest User

Untitled

a guest
Apr 25th, 2016
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 18.14 KB | None | 0 0
  1. # Database setup. The driver can be either 'sqlite', 'mysql' or 'postgres'.
  2. #
  3. # For SQLite, only the databasename is required. However, MySQL and PostgreSQL
  4. # also require 'username', 'password', and optionally 'host' ( and 'port' ) if the database
  5. # server is not on the same host as the web server.
  6. #
  7. # If you're trying out Bolt, just keep it set to SQLite for now.
  8. database:
  9. driver: mysql
  10.  
  11. # The name of the website
  12. sitename: Cafe Wysocki
  13. payoff: The amazing payoff goes here
  14.  
  15. # The theme to use. Be sure to copy the {theme_path}/base-2016 folder, and
  16. # change the name here accordingly.
  17. #
  18. # Don't edit the templates in theme/base-2016, because they _will_ get updated
  19. # in next releases
  20. theme: base-2016
  21. web: public
  22.  
  23. # The locale that'll be used by the application. If no locale is set the
  24. # fallback locale is 'en_GB'. For available options, see:
  25. # http://docs.bolt.cm/locales
  26. #
  27. # In some cases it may be needed to specify (non-standard) variations of the
  28. # locale to get everything to work as desired.
  29. #
  30. # This can be done as [nl_NL, Dutch_Netherlands] when specifying multiple
  31. # locales, ensure the first is a standard locale.
  32. locale: pl_PL
  33. #timezone: UTC
  34.  
  35. # Set maintenance mode on or off.
  36. #
  37. # While in maintenance mode, only users of level editor or higher can access the
  38. # site.
  39. #
  40. # All other visitors are presented with a notice that the site is currently
  41. # offline.
  42. #
  43. # The default template file can be found in /app/theme_defaults/ and overridden
  44. # with this option using your own theme.
  45. #
  46. # Note: If you've changed the filename, and your changes do not show up on the
  47. # website, be sure to check for a config.ymlfile in your theme's folder.
  48. # If a template is set there, it will override the setting here.
  49. maintenance_mode: false
  50. maintenance_template: maintenance_default.twig
  51.  
  52. # The hour of the day for the internal cron task scheduler to run daily, weekly,
  53. # monthly and yearly jobs.
  54. #
  55. # Default: 3 (3 am)
  56. cron_hour: 3
  57.  
  58. # If your site is reachable under different urls (say, both blog.example.org/
  59. # as well as example.org/), it's a good idea to set one of these as the
  60. # canonical, so it's clear which is the primary address of the site.
  61. #
  62. # If you include `https://`, it will be included in the canonical urls.
  63. #canonical: example.org
  64.  
  65. # Bolt can insert a <link rel="shortcut icon"> for all pages on the site.
  66.  
  67. # Note: The location given is relative to the currently selected theme. If
  68. # you want to set the icon yourself, just don't enable the following line.
  69. #favicon: images/favicon-bolt.ico
  70.  
  71. # The default content to use for the homepage, and the template to render it
  72. # with. This can either be a specific record (like `page/1`) or a listing of
  73. # records (like `entries`). In the chosen 'homepage_template', you will have
  74. # `record` or `records` at your disposal, depending on the 'homepage' setting.
  75. #
  76. # Note: If you've changed the filename, and your changes do not show up on
  77. # the website, be sure to check for a theme.yml file in your theme's
  78. # folder. If a template is set there, it will override the setting here.
  79. homepage: page/1
  80. homepage_template: index.twig
  81.  
  82. # The default content for the 404 page. Uses the 'record_template' template by
  83. # default.
  84. #
  85. # Make sure this is set to an existing record, otherwise visitors will get an
  86. # error-page when the request a non-existing page.
  87. #
  88. # Note 1: The record specified in this parameter must be set to 'published'
  89. # Note 2: If you are logged on, and debug is set to 'true', you will NOT see the
  90. # 404 page!
  91. # Note 3: This may also point to a template without a record, eg 'error404.twig'
  92. notfound: block/404-not-found
  93.  
  94. # The default template and amount of records to use for listing-pages on the
  95. # site.
  96. #
  97. # Can be overridden for each contenttype and for each record, if it has a
  98. # 'templateselect' field.
  99. #
  100. # Note: If you've changed the filename, and your changes do not show up on the
  101. # website, be sure to check for a config.yml file in your theme's folder.
  102. # If a template is set there, it will override the setting here.
  103. record_template: record.twig
  104.  
  105. # The default template and amount of records to use for listing-pages on the
  106. # site.
  107. #
  108. # Can be overridden for each contenttype.
  109. #
  110. # Note 1: Sorting on TAXONOMY-pages will give unexpected results, if it has a
  111. # pager.
  112. # If you need sorting on those, make sure you display all the records on one
  113. # page.
  114. #
  115. # Note 2: If you've changed the filename, and your changes do not show up on the
  116. # website, be sure to check for a config.yml file in your theme's
  117. # folder. If a template is set there, it will override the setting here.
  118. listing_template: listing.twig
  119. listing_records: 6
  120. listing_sort: datepublish DESC
  121.  
  122. # Because of limitations on how the underlying database queries work, there are
  123. # only two options for sorting on taxonomies. 'ASC' for roughly "oldest first"
  124. # and 'DESC' for roughly 'newest first'.
  125. taxonomy_sort: DESC
  126.  
  127. # Template for showing the search results. If not defined, uses the settings for
  128. # listing_template and listing_records.
  129. #
  130. # Note: If you've changed the filename, and your changes do not show up on the
  131. # website, be sure to check for a config.yml file in your theme's folder.
  132. # If a template is set there, it will override the setting here.
  133. search_results_template: search.twig
  134. search_results_records: 10
  135.  
  136. # Add jQuery to the rendered HTML, whether or not it's added by an extension.
  137. add_jquery: false
  138.  
  139. # The default amount of records to show on overview pages. Can be overridden
  140. # for each contenttype.
  141. recordsperpage: 10
  142.  
  143. # Settings for caching in parts of Bolt.
  144. # - config: Caches the parsed .yml files from /app/config. It's updated
  145. # immediately when one of the files changes on disk. There
  146. # should be no good reason to turn this off.
  147. # - templates: Caches rendered templates.
  148. # - request: Caches entire rendered pages like '/page/about', but only on
  149. # GET requests.
  150. # - duration: The duration (in minutes) for the 'templates' and 'request'
  151. # options. default is 10 minutes. Note that the duration is set
  152. # on storing the cache. By lowering this value you will not
  153. # invalidate currently cached items.
  154. # - authenticated: Cache 'templates' and 'request' for logged-on users. In most
  155. # cases you should *NOT* enable this, because it will cause
  156. # side-effects if the website shows different content to
  157. # authenticated users.
  158. caching:
  159. config: true
  160. templates: true
  161. request: false
  162. duration: 10
  163. authenticated: false
  164. thumbnails: true
  165.  
  166. # Set 'enabled' to 'true' to log all content changes in the database.
  167. #
  168. # Unless you need to rigorously monitor every change to your site's content, it
  169. # is recommended to keep this disabled.
  170. changelog:
  171. enabled: false
  172.  
  173. # Default settings for thumbnails.
  174. #
  175. # Quality should be between 0 (horrible, small file) and 100 (best, huge file).
  176. #
  177. # cropping: One of either crop, fit, borders, resize.
  178. # default_thumbnail: The default size of images, when using
  179. # {{ record.image|thumbnail() }}
  180. # default_image: The default size of images, when using
  181. # {{ record.image|image() }}
  182. # allow_upscale: Determines whether small images will be enlarged to fit
  183. # the requested dimensions.
  184. # browser_cache_time: Sets the amount of seconds that the browser will cache
  185. # images for. Set it to activate browser caching.
  186. #
  187. # Note: If you change these values, you might need to clear the cache before
  188. # they show up.
  189. thumbnails:
  190. default_thumbnail: [ 160, 120 ]
  191. default_image: [ 1000, 750 ]
  192. quality: 80
  193. cropping: crop
  194. notfound_image: view/img/default_notfound.png
  195. error_image: view/img/default_error.png
  196. save_files: false
  197. allow_upscale: false
  198. exif_orientation: true
  199. # browser_cache_time: 2592000
  200.  
  201. # Define the HTML tags and attributes that are allowed in 'cleaned' HTML. This
  202. # is used for sanitizing HTML, to make sure there are no undesirable elements
  203. # left in the content that is shown to users. For example, tags like `<script>`
  204. # or `onclick`-attributes.
  205. htmlcleaner:
  206. allowed_tags: [ div, p, br, hr, s, u, strong, em, i, b, li, ul, ol, blockquote, pre, code, tt, h1, h2, h3, h4, h5, h6, dd, dl, dh, table, tbody, thead, tfoot, th, td, tr, a, img ]
  207. allowed_attributes: [ id, class, style, name, value, href, src ]
  208.  
  209. # Uploaded file handling
  210. #
  211. # You can change the pattern match and replacement on uploaded files and if the
  212. # resulting filename should be transformed to lower case.
  213. # upload:
  214. # pattern: '[^A-Za-z0-9\.]+'
  215. # replacement: '-'
  216. # lowercase: true
  217.  
  218. # File types that are acceptable for upload in either 'file' fields or through
  219. # the 'files' screen.
  220.  
  221. # The following is the default list of file-types that can be uploaded through
  222. # the 'files' screen.
  223. accept_file_types: [ twig, html, js, css, scss, gif, jpg, jpeg, png, ico, zip, tgz, txt, md, doc, docx, pdf, epub, xls, xlsx, ppt, pptx, mp3, ogg, wav, m4a, mp4, m4v, ogv, wmv, avi, webm, svg]
  224.  
  225. # Alternatively, if you wish to limit these, uncomment the following list
  226. # instead. It includes file types that are harder to exploit.
  227. # accept_file_types: [ gif, jpg, jpeg, png, txt, md, pdf, epub, mp3, svg ]
  228.  
  229. # If you want to 'brand' the Bolt backend for a client, you can change some key
  230. # variables here, that determine the name of the backend, and adds a primary
  231. # support/contact link to the footer.
  232. #
  233. # Additionally you can change the mount
  234. # point for the backend, either for convenience or to obscure it from prying
  235. # eyes.
  236. #
  237. # The Bolt backend is accessible as /bolt/ by default, if you change it here,
  238. # it will only be accessible through the value set in 'path'.
  239. #
  240. # Keep the path simple: lowercase only, no extra slashes or other special
  241. # characters.
  242. # branding:
  243. # name: SuperCMS
  244. # path: /admin
  245. # provided_by: [ supercool@example.org, "Supercool Webdesign Co." ]
  246. # news_source: http://news.example.org
  247. # news_variable: news
  248.  
  249. # Show the 'debug' nut in the lower right corner for logged-in user. By default,
  250. # the debugbar is only shown to logged-in users. Use the 'debug_show_loggedoff'
  251. # option to show it to all users. You probably do not want to use this in a
  252. # production environment.
  253. debug: true
  254. developer_notices: false
  255. debug_show_loggedoff: false
  256. debug_permission_audit_mode: false
  257. debug_error_level: 8181 # equivalent to E_ALL &~ E_NOTICE &~ E_DEPRECATED &~ E_USER_DEPRECATED &~ E_WARNING
  258. # debug_error_level: 30719 # equivalent to E_ALL
  259. debug_enable_whoops: true # change this to false to use PHP's built-in error handling instead of Whoops
  260.  
  261. # System debug logging
  262. # This will enable intensive logging of Silex functions and will be very hard on
  263. # performance and log file size. The log file will be created in your cache
  264. # directory.
  265. #
  266. # Enable this for short time periods only when diagnosing system issues.
  267. # The level can be either: DEBUG, INFO, NOTICE, WARNING, ERROR, CRITICAL, ALERT, EMERGENCY
  268. debuglog:
  269. enabled: false
  270. filename: bolt-debug.log
  271. level: DEBUG
  272.  
  273. # Use strict variables. This will make Bolt complain if you use {{ foo }},
  274. # when foo doesn't exist.
  275. strict_variables: false
  276.  
  277. # There are several options for giving editors more options to insert images,
  278. # video, etc in the WYSIWYG areas. But, as you give them more options, that
  279. # means they also have more ways of breaking the preciously designed layout.
  280. #
  281. # By default the most 'dangerous' options are set to 'false'. If you choose to
  282. # enable them for your editors, please instruct them thoroughly on their
  283. # responsibility not to break the layout.
  284. wysiwyg:
  285. images: false # Allow users to insert images in the content.
  286. anchor: false # Adds a button to create internal anchors to link to.
  287. tables: false # Adds a button to insert and modify tables in the content.
  288. fontcolor: false # Allow users to mess around with font coloring.
  289. align: false # Adds buttons for 'align left', 'align right', etc.
  290. subsuper: false # Adds buttons for subscript and superscript, using `<sub>` and `<sup>`.
  291. embed: false # Allows the user to insert embedded video's from Youtube, Vimeo, etc.
  292. underline: false # Adds a button to underline text, using the `<u>`-tag.
  293. ruler: false # Adds a button to add a horizontal ruler, using the `<hr>`-tag.
  294. strike: false # Adds a button to add stikethrough, using the `<s>`-tag.
  295. blockquote: false # Allows the user to insert blockquotes using the `<blockquote>`-tag.
  296. codesnippet: false # Allows the user to insert code snippets using `<pre><code>`-tags.
  297. specialchar: false # Adds a button to insert special chars like '€' or '™'.
  298. ck:
  299. allowedContent: true # If set to 'true', any elements and attributes are allowed in Wysiwg Elements
  300. autoParagraph: true # If set to 'true', any pasted content is wrapped in `<p>`-tags for multiple line-breaks
  301. disableNativeSpellChecker: true # If set to 'true' it will stop browsers from underlining spelling mistakes
  302. allowNbsp: false # If set to 'false', the editor will strip out `&nbsp;` characters. If set to 'true', it will allow them. ¯\_(ツ)_/¯
  303. # viewSourceRoles: [ 'admin', 'developer' ] # The roles which are allowed to use the [Source]-button.
  304.  
  305. # Global option to enable/disable the live editor
  306. liveeditor: true
  307.  
  308. # Use the 'mailoptions' setting to configure how Bolt sends email: using 'smtp'
  309. # or PHP's built-in `mail()`-function.
  310.  
  311. # Note that the latter might _seem_ easier, but it's been disabled by a lot of
  312. # webhosts, in order to prevent spam from wrongly configured scripts. If you use
  313. # it, your mail might disappear into a black hole, without producing any errors.
  314. # Generally speaking, using 'smtp' is the better option, so use that if possible.
  315. #
  316. # Protip: If your webhost does not support SMTP, sign up for a (free) Sendgrid
  317. # account at https://sendgrid.com/free for sending emails reliably.
  318.  
  319. # mailoptions:
  320. # transport: smtp
  321. # spool: true
  322. # host: localhost
  323. # port: 25
  324. # username: username
  325. # password: password
  326. # encryption: null
  327. # auth_mode: null
  328. # senderMail: null
  329. # senderName: null
  330.  
  331. # mailoptions:
  332. # transport: mail
  333. # spool: false
  334.  
  335. # Bolt allows some modifications to how 'strict' login sessions are. For every
  336. # option that is set to true, it becomes harder for a bad-willing person to
  337. # spoof your login session. However, it also requires you to re-authenticate
  338. # more often if you change location(ip-address) or your browser has frequent
  339. # upgrades. Only change these if you know what you're doing, and you're having
  340. # issues with the default settings.
  341. #
  342. # Note: If you change any of these, all current users will automatically be
  343. # logged off.
  344. cookies_use_remoteaddr: true
  345. cookies_use_browseragent: false
  346. cookies_use_httphost: true
  347.  
  348. # The length of time a user stays 'logged in'. Change to 0 to end the session
  349. # when the browser is closed.
  350. #
  351. # The default is 1209600 (two weeks, in seconds).
  352. cookies_lifetime: 1209600
  353.  
  354. # Set the session cookie to a specific domain. Leave blank, unless you know what
  355. # you're doing.
  356. #
  357. # When set incorrectly, you might not be able to log on at all.
  358. #
  359. # If you'd like it to be valid for all subdomains of 'www.example.org', set this
  360. # to '.example.org'.
  361. cookies_domain:
  362.  
  363. # The hash_strength determines the amount of iterations for encrypting
  364. # passwords.
  365. #
  366. # A higher number means a harder to decrypt password, but takes longer to
  367. # compute. '8' is the minimum, '10' is the default, '12' is better.
  368. hash_strength: 10
  369.  
  370. # Bolt sets the `X-Frame-Options` and `Frame-Options` to `SAMEORIGIN` by
  371. # default, to prevent.
  372. #
  373. # Setting this to 'false', will prevent the setting of these headers.
  374. # headers:
  375. # x_frame_options: true
  376.  
  377. # Bolt uses extensions.bolt.cm to fetch it's extensions by default. You can
  378. # change that URL here.
  379. #
  380. # Do not change this, unless you know what you're doing, and understand the
  381. # associated risks. If you use 'http://extensions.bolt.cm', Bolt will not use
  382. # SSL, increasing the risk for a MITM attacks.
  383. #
  384. # For the stability option, you can choose either 'dev' or 'stable'. Setting
  385. # this to 'dev' will allow you to install dev-master versions of extensions.
  386. extensions:
  387. site: 'https://extensions.bolt.cm/'
  388. stability: stable
  389. enabled: true
  390.  
  391. # Enforcing the use of SSL. If set, all but the front-end pages will enforce an
  392. # SSL connection (and redirect to HTTPS if you attempt to visit the backend over
  393. # plain HTTP).
  394. # enforce_ssl: true
  395.  
  396. # If configured, Bolt will trust X-Forwarded-XXX headers from the listed IP
  397. # addresses and ranges when determining whether the current request is
  398. # 'secure'.
  399. #
  400. # This is required to correctly determine the current hostname and protocol
  401. # (HTTP vs. HTTPS) when running behind some proxy, e.g. a load balancer, cache,
  402. # or SSL proxy.
  403. #
  404. # List the IP addresses or subnets that you know are such proxies.
  405. #
  406. # Note: Allowing hosts here that may not be trusted proxies is a security risk.
  407. # If you do not understand what this does, it is probably best to not
  408. # touch it.
  409. # trustProxies:
  410. # - 127.0.0.1
  411. # - 10.0.0.0/8
  412.  
  413. # Theme file path where themes are. They are under /theme in project's root
  414. # folder by default but can be relocated. This case you should define theme_path
  415. # accordingly.
  416. #
  417. # Make sure the path exists, and be aware that you'll get a new 'theme' folder on any
  418. # subsequent Bolt update. Changing this setting is not advised.
  419. # theme_path: theme
  420.  
  421. # If you want Bolt installation get news through a proxy
  422. # httpProxy:
  423. # host: my.proxy.server
  424. # user: usr
  425. # password: pwd
  426.  
  427. # Options for backend user interface
  428. # backend:
  429. # news:
  430. # disable: true # Disable news panel. Defaults to false. "Alerts" will still be shown.
  431. # stack:
  432. # disable: true # Disable stack usage. Defaults to false.
Add Comment
Please, Sign In to add comment