master-dev.static-ethica.net.php 36 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977
  1. <?php
  2. return [
  3. '@class' => 'Grav\\Common\\Config\\CompiledConfig',
  4. 'timestamp' => 1520350896,
  5. 'checksum' => '7d1d5495e890ef4c0219b2aac73a0b8a',
  6. 'files' => [
  7. 'user/config' => [
  8. 'media' => [
  9. 'file' => 'user/config/media.yaml',
  10. 'modified' => 1520021421
  11. ],
  12. 'plugins/langswitcher' => [
  13. 'file' => 'user/config/plugins/langswitcher.yaml',
  14. 'modified' => 1520021421
  15. ],
  16. 'plugins/markdown-notices' => [
  17. 'file' => 'user/config/plugins/markdown-notices.yaml',
  18. 'modified' => 1520021421
  19. ],
  20. 'plugins/mediaembed' => [
  21. 'file' => 'user/config/plugins/mediaembed.yaml',
  22. 'modified' => 1520021421
  23. ],
  24. 'plugins/photoswipe' => [
  25. 'file' => 'user/config/plugins/photoswipe.yaml',
  26. 'modified' => 1520021421
  27. ],
  28. 'plugins/unitegallery' => [
  29. 'file' => 'user/config/plugins/unitegallery.yaml',
  30. 'modified' => 1520021421
  31. ],
  32. 'security' => [
  33. 'file' => 'user/config/security.yaml',
  34. 'modified' => 1520021421
  35. ],
  36. 'site' => [
  37. 'file' => 'user/config/site.yaml',
  38. 'modified' => 1520350536
  39. ],
  40. 'streams' => [
  41. 'file' => 'user/config/streams.yaml',
  42. 'modified' => 1520021421
  43. ],
  44. 'system' => [
  45. 'file' => 'user/config/system.yaml',
  46. 'modified' => 1520350638
  47. ]
  48. ],
  49. 'system/config' => [
  50. 'media' => [
  51. 'file' => 'system/config/media.yaml',
  52. 'modified' => 1520021421
  53. ],
  54. 'site' => [
  55. 'file' => 'system/config/site.yaml',
  56. 'modified' => 1520021421
  57. ],
  58. 'streams' => [
  59. 'file' => 'system/config/streams.yaml',
  60. 'modified' => 1520021421
  61. ],
  62. 'system' => [
  63. 'file' => 'system/config/system.yaml',
  64. 'modified' => 1520021421
  65. ]
  66. ],
  67. 'user/plugins' => [
  68. 'plugins/admin' => [
  69. 'file' => 'user/plugins/admin/admin.yaml',
  70. 'modified' => 1520021428
  71. ],
  72. 'plugins/markdown-notices' => [
  73. 'file' => 'user/plugins/markdown-notices/markdown-notices.yaml',
  74. 'modified' => 1520021428
  75. ],
  76. 'plugins/form' => [
  77. 'file' => 'user/plugins/form/form.yaml',
  78. 'modified' => 1520021428
  79. ],
  80. 'plugins/login' => [
  81. 'file' => 'user/plugins/login/login.yaml',
  82. 'modified' => 1520021428
  83. ],
  84. 'plugins/error' => [
  85. 'file' => 'user/plugins/error/error.yaml',
  86. 'modified' => 1520021428
  87. ],
  88. 'plugins/mediaembed' => [
  89. 'file' => 'user/plugins/mediaembed/mediaembed.yaml',
  90. 'modified' => 1520021428
  91. ],
  92. 'plugins/email' => [
  93. 'file' => 'user/plugins/email/email.yaml',
  94. 'modified' => 1520021428
  95. ],
  96. 'plugins/langswitcher' => [
  97. 'file' => 'user/plugins/langswitcher/langswitcher.yaml',
  98. 'modified' => 1520021428
  99. ],
  100. 'plugins/problems' => [
  101. 'file' => 'user/plugins/problems/problems.yaml',
  102. 'modified' => 1520021428
  103. ]
  104. ]
  105. ],
  106. 'data' => [
  107. 'plugins' => [
  108. 'admin' => [
  109. 'enabled' => true,
  110. 'route' => '/admin',
  111. 'cache_enabled' => false,
  112. 'theme' => 'grav',
  113. 'logo_text' => '',
  114. 'body_classes' => '',
  115. 'content_padding' => true,
  116. 'twofa_enabled' => true,
  117. 'sidebar' => [
  118. 'activate' => 'tab',
  119. 'hover_delay' => 100,
  120. 'size' => 'auto'
  121. ],
  122. 'dashboard' => [
  123. 'days_of_stats' => 7
  124. ],
  125. 'widgets' => [
  126. 'dashboard-maintenance' => true,
  127. 'dashboard-statistics' => true,
  128. 'dashboard-notifications' => true,
  129. 'dashboard-feed' => true,
  130. 'dashboard-pages' => true
  131. ],
  132. 'pages' => [
  133. 'show_parents' => 'both'
  134. ],
  135. 'session' => [
  136. 'timeout' => 1800
  137. ],
  138. 'warnings' => [
  139. 'delete_page' => true
  140. ],
  141. 'edit_mode' => 'normal',
  142. 'frontend_pages_target' => '_blank',
  143. 'show_github_msg' => true,
  144. 'pages_list_display_field' => 'title',
  145. 'google_fonts' => true,
  146. 'enable_auto_updates_check' => true,
  147. 'notifications' => [
  148. 'feed' => true,
  149. 'dashboard' => true,
  150. 'plugins' => true,
  151. 'themes' => true
  152. ],
  153. 'popularity' => [
  154. 'enabled' => true,
  155. 'ignore' => [
  156. 0 => '/test*',
  157. 1 => '/modular'
  158. ],
  159. 'history' => [
  160. 'daily' => 30,
  161. 'monthly' => 12,
  162. 'visitors' => 20
  163. ]
  164. ]
  165. ],
  166. 'markdown-notices' => [
  167. 'enabled' => true,
  168. 'built_in_css' => true,
  169. 'level_classes' => [
  170. 0 => 'yellow',
  171. 1 => 'red',
  172. 2 => 'blue',
  173. 3 => 'green'
  174. ]
  175. ],
  176. 'form' => [
  177. 'enabled' => true,
  178. 'built_in_css' => true,
  179. 'refresh_prevention' => false,
  180. 'files' => [
  181. 'multiple' => false,
  182. 'limit' => 10,
  183. 'destination' => 'self@',
  184. 'avoid_overwriting' => false,
  185. 'random_name' => false,
  186. 'filesize' => 0,
  187. 'accept' => [
  188. 0 => 'image/*'
  189. ]
  190. ]
  191. ],
  192. 'login' => [
  193. 'enabled' => true,
  194. 'built_in_css' => true,
  195. 'route' => NULL,
  196. 'redirect_to_login' => true,
  197. 'redirect_after_login' => NULL,
  198. 'route_activate' => '/activate_user',
  199. 'route_forgot' => '/forgot_password',
  200. 'route_reset' => '/reset_password',
  201. 'route_profile' => '/user_profile',
  202. 'route_register' => '/user_register',
  203. 'route_unauthorized' => '/user_unauthorized',
  204. 'dynamic_page_visibility' => false,
  205. 'parent_acl' => false,
  206. 'protect_protected_page_media' => false,
  207. 'rememberme' => [
  208. 'enabled' => true,
  209. 'timeout' => 604800,
  210. 'name' => 'grav-rememberme'
  211. ],
  212. 'max_pw_resets_count' => 0,
  213. 'max_pw_resets_interval' => 60,
  214. 'max_login_count' => 0,
  215. 'max_login_interval' => 2,
  216. 'user_registration' => [
  217. 'enabled' => true,
  218. 'fields' => [
  219. 0 => 'username',
  220. 1 => 'password',
  221. 2 => 'email',
  222. 3 => 'fullname',
  223. 4 => 'title',
  224. 5 => 'level'
  225. ],
  226. 'default_values' => [
  227. 'level' => 'Newbie'
  228. ],
  229. 'access' => [
  230. 'site' => [
  231. 'login' => 'true'
  232. ]
  233. ],
  234. 'redirect_after_registration' => '',
  235. 'options' => [
  236. 'validate_password1_and_password2' => true,
  237. 'set_user_disabled' => false,
  238. 'login_after_registration' => true,
  239. 'send_activation_email' => false,
  240. 'send_notification_email' => false,
  241. 'send_welcome_email' => false
  242. ]
  243. ]
  244. ],
  245. 'error' => [
  246. 'enabled' => true,
  247. 'routes' => [
  248. 404 => '/error'
  249. ]
  250. ],
  251. 'mediaembed' => [
  252. 'enabled' => true,
  253. 'link' => false,
  254. 'built_in_css' => true,
  255. 'built_in_js' => true,
  256. 'media' => [
  257. 'width' => 640,
  258. 'height' => 390,
  259. 'adjust' => true,
  260. 'preview' => true,
  261. 'responsive' => true,
  262. 'protocol' => 'http://'
  263. ],
  264. 'services' => [
  265. 'SoundCloud' => [
  266. 'enabled' => true,
  267. 'type' => 'rich',
  268. 'example' => 'https://soundcloud.com/semiseria/verruckert-ausschnitt',
  269. 'url' => 'w.soundcloud.com/player/?url=http://api.soundcloud.com/tracks/{:id}',
  270. 'canonical' => 'http://soundcloud.com/{:id}',
  271. 'endpoint' => 'http://soundcloud.com/oembed?url={:canonical}&format=json',
  272. 'schemes' => [
  273. 0 => 'soundcloud.com/*',
  274. 1 => 'soundcloud.com/*/*',
  275. 2 => 'soundcloud.com/*/sets/*',
  276. 3 => 'soundcloud.com/groups/*',
  277. 4 => 'snd.sc/*'
  278. ],
  279. 'params' => [
  280. 'auto_play' => false,
  281. 'buying' => true,
  282. 'download' => true,
  283. 'hide_related' => false,
  284. 'liking' => true,
  285. 'sharing' => true,
  286. 'show_artwork' => true,
  287. 'show_comments' => true,
  288. 'show_playcount' => true,
  289. 'show_user' => true,
  290. 'visual' => false
  291. ]
  292. ],
  293. 'Spotify' => [
  294. 'enabled' => true,
  295. 'type' => 'rich',
  296. 'canonical' => 'http://open.spotify.com/track/{:id}',
  297. 'endpoint' => 'https://embed.spotify.com/oembed/?url={:canonical}&format=json',
  298. 'schemes' => [
  299. 0 => 'open.spotify.com/track/*',
  300. 1 => 'spoti.fi/*'
  301. ]
  302. ],
  303. 'Flickr' => [
  304. 'enabled' => true,
  305. 'type' => 'photo',
  306. 'canonical' => 'http://www.flickr.com/photos/{:id}',
  307. 'endpoint' => 'http://flickr.com/services/oembed?url={:canonical}&format=json',
  308. 'schemes' => [
  309. 0 => 'flickr.com/photos/*',
  310. 1 => 'flic.kr/*'
  311. ]
  312. ],
  313. 'Imgur' => [
  314. 'enabled' => true,
  315. 'type' => 'rich',
  316. 'canonical' => 'http://imgur.com/gallery/{:id}',
  317. 'endpoint' => 'http://api.imgur.com/oembed?url={:canonical}&format=json',
  318. 'schemes' => [
  319. 0 => 'imgur.com/gallery/*',
  320. 1 => 'imgur.com/a/*',
  321. 2 => 'imgur.com/*'
  322. ]
  323. ],
  324. 'Instagram' => [
  325. 'enabled' => true,
  326. 'type' => 'rich',
  327. 'canonical' => 'http://instagram.com/p/{:id}',
  328. 'endpoint' => 'http://api.instagram.com/oembed?url={:canonical}&format=json',
  329. 'schemes' => [
  330. 0 => 'instagr.am/p/*',
  331. 1 => 'instagram.com/p/*'
  332. ]
  333. ],
  334. 'Dailymotion' => [
  335. 'enabled' => true,
  336. 'type' => 'video',
  337. 'url' => 'www.dailymotion.com/embed/video/{:id}',
  338. 'canonical' => 'http://dailymotion.com/video/{:id}',
  339. 'endpoint' => 'http://www.dailymotion.com/services/oembed?url={:canonical}&format=json',
  340. 'schemes' => [
  341. 0 => 'dailymotion.com/video/*',
  342. 1 => 'dailymotion.com/*/video/*',
  343. 2 => 'dai\\.ly/*'
  344. ],
  345. 'params' => [
  346. 'quality' => 1080
  347. ]
  348. ],
  349. 'YouTube' => [
  350. 'enabled' => true,
  351. 'type' => 'video',
  352. 'url' => 'www.youtube.com/embed/{:id}',
  353. 'canonical' => 'http://www.youtube.com/watch?v={:id}',
  354. 'endpoint' => 'http://www.youtube.com/oembed?url={:canonical}&format=json',
  355. 'schemes' => [
  356. 0 => 'youtube.com/watch?*v=*',
  357. 1 => 'youtube.com/embed/*',
  358. 2 => 'youtube.com/v/*',
  359. 3 => 'youtube.com/?*v=*',
  360. 4 => 'youtu.be/*'
  361. ],
  362. 'params' => [
  363. 'autoplay' => 0,
  364. 'modestbranding' => 1,
  365. 'theme' => 'light'
  366. ]
  367. ],
  368. 'Vimeo' => [
  369. 'enabled' => true,
  370. 'type' => 'video',
  371. 'url' => 'player.vimeo.com/video/{:id}',
  372. 'canonical' => 'https://vimeo.com/{:id}',
  373. 'endpoint' => 'http://vimeo.com/api/oembed.json?url={:canonical}',
  374. 'schemes' => [
  375. 0 => 'vimeo.com/*',
  376. 1 => 'vimeo.com/channels/*/*',
  377. 2 => 'vimeo.com/groups/*/videos/*'
  378. ],
  379. 'params' => [
  380. 'autoplay' => 0
  381. ]
  382. ],
  383. 'Github' => [
  384. 'enabled' => true,
  385. 'type' => 'rich',
  386. 'canonical' => 'https://gist.github.com/{:id}',
  387. 'endpoint' => 'https://gist.github.com/{:id}.json',
  388. 'schemes' => [
  389. 0 => 'gist.github.com/*',
  390. 1 => 'gist.github.com/*/*',
  391. 2 => 'gist.github.com/*?*'
  392. ]
  393. ],
  394. 'Slides' => [
  395. 'enabled' => true,
  396. 'type' => 'rich',
  397. 'canonical' => 'http://slides.com/{:id}',
  398. 'endpoint' => 'http://slides.com/{:id}',
  399. 'schemes' => [
  400. 0 => 'slides.com/*',
  401. 1 => 'slid.es/*'
  402. ],
  403. 'params' => [
  404. 'style' => 'light',
  405. 'width' => 1920,
  406. 'height' => 1400
  407. ]
  408. ],
  409. 'Twitter' => [
  410. 'enabled' => true,
  411. 'type' => 'rich',
  412. 'canonical' => 'https://twitter.com/{:id}',
  413. 'endpoint' => 'https://api.twitter.com/1/statuses/oembed.json?url={:canonical}',
  414. 'schemes' => [
  415. 0 => 'twitter.com/*',
  416. 1 => 'twitter.com/*/*'
  417. ]
  418. ],
  419. 'GitHub' => [
  420. 'enabled' => true
  421. ]
  422. ]
  423. ],
  424. 'email' => [
  425. 'enabled' => true,
  426. 'from' => NULL,
  427. 'from_name' => NULL,
  428. 'to' => NULL,
  429. 'to_name' => NULL,
  430. 'mailer' => [
  431. 'engine' => 'sendmail',
  432. 'smtp' => [
  433. 'server' => 'localhost',
  434. 'port' => 25,
  435. 'encryption' => 'none',
  436. 'user' => '',
  437. 'password' => ''
  438. ],
  439. 'sendmail' => [
  440. 'bin' => '/usr/sbin/sendmail -bs'
  441. ]
  442. ],
  443. 'content_type' => 'text/html',
  444. 'debug' => false
  445. ],
  446. 'langswitcher' => [
  447. 'enabled' => true,
  448. 'built_in_css' => true,
  449. 'untranslated_pages_behavior' => 'redirect'
  450. ],
  451. 'problems' => [
  452. 'enabled' => true,
  453. 'built_in_css' => true
  454. ],
  455. 'photoswipe' => [
  456. 'enabled' => true,
  457. 'active' => true
  458. ],
  459. 'unitegallery' => [
  460. 'enabled' => true,
  461. 'assets_in_meta' => true,
  462. 'gallery_theme' => 'default',
  463. 'gallery_div_id' => 'unite-gallery',
  464. 'thumb_width' => 600,
  465. 'thumb_height' => 600
  466. ]
  467. ],
  468. 'media' => [
  469. 'types' => [
  470. 'defaults' => [
  471. 'type' => 'file',
  472. 'thumb' => 'media/thumb.png',
  473. 'mime' => 'application/octet-stream',
  474. 'image' => [
  475. 'filters' => [
  476. 'default' => [
  477. 0 => 'enableProgressive'
  478. ]
  479. ]
  480. ]
  481. ],
  482. 'jpg' => [
  483. 'type' => 'image',
  484. 'thumb' => 'media/thumb-jpg.png',
  485. 'mime' => 'image/jpeg'
  486. ],
  487. 'jpe' => [
  488. 'type' => 'image',
  489. 'thumb' => 'media/thumb-jpg.png',
  490. 'mime' => 'image/jpeg'
  491. ],
  492. 'jpeg' => [
  493. 'type' => 'image',
  494. 'thumb' => 'media/thumb-jpg.png',
  495. 'mime' => 'image/jpeg'
  496. ],
  497. 'png' => [
  498. 'type' => 'image',
  499. 'thumb' => 'media/thumb-png.png',
  500. 'mime' => 'image/png'
  501. ],
  502. 'gif' => [
  503. 'type' => 'animated',
  504. 'thumb' => 'media/thumb-gif.png',
  505. 'mime' => 'image/gif'
  506. ],
  507. 'svg' => [
  508. 'type' => 'vector',
  509. 'thumb' => 'media/thumb-svg.png',
  510. 'mime' => 'image/svg+xml'
  511. ],
  512. 'mp4' => [
  513. 'type' => 'video',
  514. 'thumb' => 'media/thumb-mp4.png',
  515. 'mime' => 'video/mp4'
  516. ],
  517. 'mov' => [
  518. 'type' => 'video',
  519. 'thumb' => 'media/thumb-mov.png',
  520. 'mime' => 'video/quicktime'
  521. ],
  522. 'm4v' => [
  523. 'type' => 'video',
  524. 'thumb' => 'media/thumb-m4v.png',
  525. 'mime' => 'video/x-m4v'
  526. ],
  527. 'swf' => [
  528. 'type' => 'video',
  529. 'thumb' => 'media/thumb-swf.png',
  530. 'mime' => 'video/x-flv'
  531. ],
  532. 'flv' => [
  533. 'type' => 'video',
  534. 'thumb' => 'media/thumb-flv.png',
  535. 'mime' => 'video/x-flv'
  536. ],
  537. 'webm' => [
  538. 'type' => 'file',
  539. 'thumb' => 'media/thumb-webm.png',
  540. 'mime' => 'video/webm'
  541. ],
  542. 'ogv' => [
  543. 'type' => 'video',
  544. 'thumb' => 'media/thumb-ogg.png',
  545. 'mime' => 'video/ogg'
  546. ],
  547. 'mp3' => [
  548. 'type' => 'audio',
  549. 'thumb' => 'media/thumb-mp3.png',
  550. 'mime' => 'audio/mp3'
  551. ],
  552. 'ogg' => [
  553. 'type' => 'audio',
  554. 'thumb' => 'media/thumb-ogg.png',
  555. 'mime' => 'audio/ogg'
  556. ],
  557. 'wma' => [
  558. 'type' => 'audio',
  559. 'thumb' => 'media/thumb-wma.png',
  560. 'mime' => 'audio/wma'
  561. ],
  562. 'm4a' => [
  563. 'type' => 'audio',
  564. 'thumb' => 'media/thumb-m4a.png',
  565. 'mime' => 'audio/m4a'
  566. ],
  567. 'wav' => [
  568. 'type' => 'audio',
  569. 'thumb' => 'media/thumb-wav.png',
  570. 'mime' => 'audio/wav'
  571. ],
  572. 'aiff' => [
  573. 'type' => 'audio',
  574. 'thumb' => 'media/thumb-aif.png',
  575. 'mime' => 'audio/aiff'
  576. ],
  577. 'aif' => [
  578. 'type' => 'audio',
  579. 'thumb' => 'media/thumb-aif.png',
  580. 'mime' => 'audio/aif'
  581. ],
  582. 'txt' => [
  583. 'type' => 'file',
  584. 'thumb' => 'media/thumb-txt.png',
  585. 'mime' => 'text/plain'
  586. ],
  587. 'xml' => [
  588. 'type' => 'file',
  589. 'thumb' => 'media/thumb-xml.png',
  590. 'mime' => 'application/xml'
  591. ],
  592. 'doc' => [
  593. 'type' => 'file',
  594. 'thumb' => 'media/thumb-doc.png',
  595. 'mime' => 'application/msword'
  596. ],
  597. 'docx' => [
  598. 'type' => 'file',
  599. 'thumb' => 'media/thumb-docx.png',
  600. 'mime' => 'application/msword'
  601. ],
  602. 'xls' => [
  603. 'type' => 'file',
  604. 'thumb' => 'media/thumb-xls.png',
  605. 'mime' => 'application/vnd.ms-excel'
  606. ],
  607. 'xlsx' => [
  608. 'type' => 'file',
  609. 'thumb' => 'media/thumb-xlsx.png',
  610. 'mime' => 'application/vnd.ms-excel'
  611. ],
  612. 'ppt' => [
  613. 'type' => 'file',
  614. 'thumb' => 'media/thumb-ppt.png',
  615. 'mime' => 'application/vnd.ms-powerpoint'
  616. ],
  617. 'pptx' => [
  618. 'type' => 'file',
  619. 'thumb' => 'media/thumb-pptx.png',
  620. 'mime' => 'application/vnd.ms-powerpoint'
  621. ],
  622. 'pps' => [
  623. 'type' => 'file',
  624. 'thumb' => 'media/thumb-pps.png',
  625. 'mime' => 'application/vnd.ms-powerpoint'
  626. ],
  627. 'rtf' => [
  628. 'type' => 'file',
  629. 'thumb' => 'media/thumb-rtf.png',
  630. 'mime' => 'application/rtf'
  631. ],
  632. 'bmp' => [
  633. 'type' => 'file',
  634. 'thumb' => 'media/thumb-bmp.png',
  635. 'mime' => 'image/bmp'
  636. ],
  637. 'tiff' => [
  638. 'type' => 'file',
  639. 'thumb' => 'media/thumb-tiff.png',
  640. 'mime' => 'image/tiff'
  641. ],
  642. 'mpeg' => [
  643. 'type' => 'file',
  644. 'thumb' => 'media/thumb-mpg.png',
  645. 'mime' => 'video/mpeg'
  646. ],
  647. 'mpg' => [
  648. 'type' => 'file',
  649. 'thumb' => 'media/thumb-mpg.png',
  650. 'mime' => 'video/mpeg'
  651. ],
  652. 'mpe' => [
  653. 'type' => 'file',
  654. 'thumb' => 'media/thumb-mpe.png',
  655. 'mime' => 'video/mpeg'
  656. ],
  657. 'avi' => [
  658. 'type' => 'file',
  659. 'thumb' => 'media/thumb-avi.png',
  660. 'mime' => 'video/msvideo'
  661. ],
  662. 'wmv' => [
  663. 'type' => 'file',
  664. 'thumb' => 'media/thumb-wmv.png',
  665. 'mime' => 'video/x-ms-wmv'
  666. ],
  667. 'html' => [
  668. 'type' => 'file',
  669. 'thumb' => 'media/thumb-html.png',
  670. 'mime' => 'text/html'
  671. ],
  672. 'htm' => [
  673. 'type' => 'file',
  674. 'thumb' => 'media/thumb-html.png',
  675. 'mime' => 'text/html'
  676. ],
  677. 'ics' => [
  678. 'type' => 'iCal',
  679. 'thumb' => 'media/thumb-ics.png',
  680. 'mime' => 'text/calendar'
  681. ],
  682. 'pdf' => [
  683. 'type' => 'file',
  684. 'thumb' => 'media/thumb-pdf.png',
  685. 'mime' => 'application/pdf'
  686. ],
  687. 'ai' => [
  688. 'type' => 'file',
  689. 'thumb' => 'media/thumb-ai.png',
  690. 'mime' => 'image/ai'
  691. ],
  692. 'psd' => [
  693. 'type' => 'file',
  694. 'thumb' => 'media/thumb-psd.png',
  695. 'mime' => 'image/psd'
  696. ],
  697. 'zip' => [
  698. 'type' => 'file',
  699. 'thumb' => 'media/thumb-zip.png',
  700. 'mime' => 'application/zip'
  701. ],
  702. '7z' => [
  703. 'type' => 'file',
  704. 'thumb' => 'media/thumb-7z.png',
  705. 'mime' => 'application/x-7z-compressed'
  706. ],
  707. 'gz' => [
  708. 'type' => 'file',
  709. 'thumb' => 'media/thumb-gz.png',
  710. 'mime' => 'application/gzip'
  711. ],
  712. 'tar' => [
  713. 'type' => 'file',
  714. 'thumb' => 'media/thumb-tar.png',
  715. 'mime' => 'application/x-tar'
  716. ],
  717. 'css' => [
  718. 'type' => 'file',
  719. 'thumb' => 'media/thumb-css.png',
  720. 'mime' => 'text/css'
  721. ],
  722. 'js' => [
  723. 'type' => 'file',
  724. 'thumb' => 'media/thumb-js.png',
  725. 'mime' => 'application/javascript'
  726. ],
  727. 'json' => [
  728. 'type' => 'file',
  729. 'thumb' => 'media/thumb-json.png',
  730. 'mime' => 'application/json'
  731. ]
  732. ]
  733. ],
  734. 'site' => [
  735. 'title' => 'SITE.TITLE',
  736. 'default_lang' => 'fr',
  737. 'author' => [
  738. 'name' => 'Kevin Tessier',
  739. 'email' => 'kevin@figureslibres.io'
  740. ],
  741. 'taxonomies' => [
  742. 0 => 'category',
  743. 1 => 'tag'
  744. ],
  745. 'metadata' => [
  746. 'description' => 'Grav is an easy to use, yet powerful, open source flat-file CMS'
  747. ],
  748. 'summary' => [
  749. 'enabled' => true,
  750. 'format' => 'short',
  751. 'size' => 300,
  752. 'delimiter' => '==='
  753. ],
  754. 'redirects' => NULL,
  755. 'routes' => NULL,
  756. 'blog' => [
  757. 'route' => '/blog'
  758. ]
  759. ],
  760. 'streams' => [
  761. 'schemes' => [
  762. 'image' => [
  763. 'type' => 'ReadOnlyStream',
  764. 'paths' => [
  765. 0 => 'user://images',
  766. 1 => 'system://images'
  767. ]
  768. ],
  769. 'page' => [
  770. 'type' => 'ReadOnlyStream',
  771. 'paths' => [
  772. 0 => 'user://pages'
  773. ]
  774. ],
  775. 'account' => [
  776. 'type' => 'ReadOnlyStream',
  777. 'paths' => [
  778. 0 => 'user://accounts'
  779. ]
  780. ]
  781. ]
  782. ],
  783. 'system' => [
  784. 'absolute_urls' => false,
  785. 'timezone' => '',
  786. 'default_locale' => NULL,
  787. 'param_sep' => ':',
  788. 'wrapped_site' => false,
  789. 'reverse_proxy_setup' => false,
  790. 'force_ssl' => false,
  791. 'force_lowercase_urls' => true,
  792. 'custom_base_url' => '',
  793. 'username_regex' => '^[a-z0-9_-]{3,16}$',
  794. 'pwd_regex' => '(?=.*\\d)(?=.*[a-z])(?=.*[A-Z]).{8,}',
  795. 'intl_enabled' => true,
  796. 'languages' => [
  797. 'supported' => [
  798. 0 => 'fr',
  799. 1 => 'en'
  800. ],
  801. 'include_default_lang' => true,
  802. 'translations' => true,
  803. 'translations_fallback' => true,
  804. 'session_store_active' => true,
  805. 'http_accept_language' => true,
  806. 'override_locale' => false
  807. ],
  808. 'home' => [
  809. 'alias' => '/home-fr',
  810. 'hide_in_urls' => false,
  811. 'aliases' => [
  812. 'fr' => '/home-fr',
  813. 'en' => '/home-en'
  814. ]
  815. ],
  816. 'pages' => [
  817. 'theme' => 'ethica',
  818. 'order' => [
  819. 'by' => 'default',
  820. 'dir' => 'asc'
  821. ],
  822. 'list' => [
  823. 'count' => 20
  824. ],
  825. 'dateformat' => [
  826. 'default' => NULL,
  827. 'short' => 'jS M Y',
  828. 'long' => 'F jS \\a\\t g:ia'
  829. ],
  830. 'publish_dates' => true,
  831. 'process' => [
  832. 'markdown' => true,
  833. 'twig' => false
  834. ],
  835. 'twig_first' => false,
  836. 'never_cache_twig' => false,
  837. 'events' => [
  838. 'page' => true,
  839. 'twig' => true
  840. ],
  841. 'markdown' => [
  842. 'extra' => false,
  843. 'auto_line_breaks' => false,
  844. 'auto_url_links' => true,
  845. 'escape_markup' => true,
  846. 'special_chars' => [
  847. '>' => 'gt',
  848. '<' => 'lt'
  849. ]
  850. ],
  851. 'types' => [
  852. 0 => 'txt',
  853. 1 => 'xml',
  854. 2 => 'html',
  855. 3 => 'htm',
  856. 4 => 'json',
  857. 5 => 'rss',
  858. 6 => 'atom'
  859. ],
  860. 'append_url_extension' => '',
  861. 'expires' => 604800,
  862. 'cache_control' => NULL,
  863. 'last_modified' => false,
  864. 'etag' => false,
  865. 'vary_accept_encoding' => false,
  866. 'redirect_default_route' => true,
  867. 'redirect_default_code' => '302',
  868. 'redirect_trailing_slash' => true,
  869. 'ignore_files' => [
  870. 0 => '.DS_Store'
  871. ],
  872. 'ignore_folders' => [
  873. 0 => '.git',
  874. 1 => '.idea'
  875. ],
  876. 'ignore_hidden' => true,
  877. 'url_taxonomy_filters' => true,
  878. 'frontmatter' => [
  879. 'process_twig' => false,
  880. 'ignore_fields' => [
  881. 0 => 'form',
  882. 1 => 'forms'
  883. ]
  884. ]
  885. ],
  886. 'cache' => [
  887. 'enabled' => false,
  888. 'check' => [
  889. 'method' => 'file'
  890. ],
  891. 'driver' => 'auto',
  892. 'prefix' => 'g',
  893. 'clear_images_by_default' => true,
  894. 'cli_compatibility' => false,
  895. 'lifetime' => 604800,
  896. 'gzip' => false,
  897. 'allow_webserver_gzip' => false,
  898. 'redis' => [
  899. 'socket' => false
  900. ]
  901. ],
  902. 'twig' => [
  903. 'cache' => true,
  904. 'debug' => true,
  905. 'auto_reload' => true,
  906. 'autoescape' => false,
  907. 'undefined_functions' => true,
  908. 'undefined_filters' => true,
  909. 'umask_fix' => false
  910. ],
  911. 'assets' => [
  912. 'css_pipeline' => false,
  913. 'css_pipeline_include_externals' => true,
  914. 'css_pipeline_before_excludes' => true,
  915. 'css_minify' => true,
  916. 'css_minify_windows' => false,
  917. 'css_rewrite' => true,
  918. 'js_pipeline' => false,
  919. 'js_pipeline_include_externals' => true,
  920. 'js_pipeline_before_excludes' => true,
  921. 'js_minify' => true,
  922. 'enable_asset_timestamp' => false,
  923. 'collections' => [
  924. 'jquery' => 'system://assets/jquery/jquery-2.x.min.js'
  925. ]
  926. ],
  927. 'errors' => [
  928. 'display' => '1',
  929. 'log' => true
  930. ],
  931. 'debugger' => [
  932. 'enabled' => false,
  933. 'shutdown' => [
  934. 'close_connection' => true
  935. ],
  936. 'twig' => true
  937. ],
  938. 'images' => [
  939. 'default_image_quality' => 85,
  940. 'cache_all' => false,
  941. 'cache_perms' => '0755',
  942. 'debug' => false,
  943. 'auto_fix_orientation' => false
  944. ],
  945. 'media' => [
  946. 'enable_media_timestamp' => false,
  947. 'unsupported_inline_types' => [
  948. ],
  949. 'allowed_fallback_types' => [
  950. ],
  951. 'auto_metadata_exif' => false,
  952. 'upload_limit' => 2097152
  953. ],
  954. 'session' => [
  955. 'enabled' => true,
  956. 'timeout' => 1800,
  957. 'name' => 'grav-site',
  958. 'secure' => false,
  959. 'httponly' => true,
  960. 'split' => true,
  961. 'path' => NULL
  962. ],
  963. 'gpm' => [
  964. 'releases' => 'stable',
  965. 'proxy_url' => NULL,
  966. 'method' => 'auto',
  967. 'verify_peer' => true,
  968. 'official_gpm_only' => true
  969. ]
  970. ],
  971. 'security' => [
  972. 'salt' => 'ZJijUxdDontm4k'
  973. ]
  974. ]
  975. ];