master-dev.hehe.net.php 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817
  1. <?php
  2. return [
  3. '@class' => 'Grav\\Common\\Config\\CompiledConfig',
  4. 'timestamp' => 1547740942,
  5. 'checksum' => 'eabd5a615dbd832a09d9771b4d88eddc',
  6. 'files' => [
  7. 'user/config' => [
  8. 'media' => [
  9. 'file' => 'user/config/media.yaml',
  10. 'modified' => 1533133695
  11. ],
  12. 'plugins/taxonomylist' => [
  13. 'file' => 'user/config/plugins/taxonomylist.yaml',
  14. 'modified' => 1533212898
  15. ],
  16. 'security' => [
  17. 'file' => 'user/config/security.yaml',
  18. 'modified' => 1533133695
  19. ],
  20. 'site' => [
  21. 'file' => 'user/config/site.yaml',
  22. 'modified' => 1533134345
  23. ],
  24. 'streams' => [
  25. 'file' => 'user/config/streams.yaml',
  26. 'modified' => 1533133695
  27. ],
  28. 'system' => [
  29. 'file' => 'user/config/system.yaml',
  30. 'modified' => 1547740942
  31. ]
  32. ],
  33. 'system/config' => [
  34. 'media' => [
  35. 'file' => 'system/config/media.yaml',
  36. 'modified' => 1546440919
  37. ],
  38. 'security' => [
  39. 'file' => 'system/config/security.yaml',
  40. 'modified' => 1546440919
  41. ],
  42. 'site' => [
  43. 'file' => 'system/config/site.yaml',
  44. 'modified' => 1546440919
  45. ],
  46. 'streams' => [
  47. 'file' => 'system/config/streams.yaml',
  48. 'modified' => 1546440919
  49. ],
  50. 'system' => [
  51. 'file' => 'system/config/system.yaml',
  52. 'modified' => 1546440919
  53. ]
  54. ],
  55. 'user/plugins' => [
  56. 'plugins/admin' => [
  57. 'file' => 'user/plugins/admin/admin.yaml',
  58. 'modified' => 1546440944
  59. ],
  60. 'plugins/markdown-notices' => [
  61. 'file' => 'user/plugins/markdown-notices/markdown-notices.yaml',
  62. 'modified' => 1533014916
  63. ],
  64. 'plugins/form' => [
  65. 'file' => 'user/plugins/form/form.yaml',
  66. 'modified' => 1546440946
  67. ],
  68. 'plugins/login' => [
  69. 'file' => 'user/plugins/login/login.yaml',
  70. 'modified' => 1546440940
  71. ],
  72. 'plugins/error' => [
  73. 'file' => 'user/plugins/error/error.yaml',
  74. 'modified' => 1533014916
  75. ],
  76. 'plugins/email' => [
  77. 'file' => 'user/plugins/email/email.yaml',
  78. 'modified' => 1533014916
  79. ],
  80. 'plugins/taxonomylist' => [
  81. 'file' => 'user/plugins/taxonomylist/taxonomylist.yaml',
  82. 'modified' => 1535111345
  83. ],
  84. 'plugins/problems' => [
  85. 'file' => 'user/plugins/problems/problems.yaml',
  86. 'modified' => 1546440938
  87. ]
  88. ]
  89. ],
  90. 'data' => [
  91. 'plugins' => [
  92. 'admin' => [
  93. 'enabled' => true,
  94. 'route' => '/admin',
  95. 'cache_enabled' => false,
  96. 'theme' => 'grav',
  97. 'logo_text' => '',
  98. 'body_classes' => '',
  99. 'content_padding' => true,
  100. 'twofa_enabled' => true,
  101. 'sidebar' => [
  102. 'activate' => 'tab',
  103. 'hover_delay' => 100,
  104. 'size' => 'auto'
  105. ],
  106. 'dashboard' => [
  107. 'days_of_stats' => 7
  108. ],
  109. 'widgets' => [
  110. 'dashboard-maintenance' => true,
  111. 'dashboard-statistics' => true,
  112. 'dashboard-notifications' => true,
  113. 'dashboard-feed' => true,
  114. 'dashboard-pages' => true
  115. ],
  116. 'pages' => [
  117. 'show_parents' => 'both'
  118. ],
  119. 'session' => [
  120. 'timeout' => 1800
  121. ],
  122. 'warnings' => [
  123. 'delete_page' => true
  124. ],
  125. 'edit_mode' => 'normal',
  126. 'frontend_preview_target' => 'inline',
  127. 'show_github_msg' => true,
  128. 'pages_list_display_field' => 'title',
  129. 'google_fonts' => false,
  130. 'admin_icons' => 'line-awesome',
  131. 'enable_auto_updates_check' => true,
  132. 'notifications' => [
  133. 'feed' => true,
  134. 'dashboard' => true,
  135. 'plugins' => true,
  136. 'themes' => true
  137. ],
  138. 'popularity' => [
  139. 'enabled' => true,
  140. 'ignore' => [
  141. 0 => '/test*',
  142. 1 => '/modular'
  143. ],
  144. 'history' => [
  145. 'daily' => 30,
  146. 'monthly' => 12,
  147. 'visitors' => 20
  148. ]
  149. ]
  150. ],
  151. 'markdown-notices' => [
  152. 'enabled' => true,
  153. 'built_in_css' => true,
  154. 'level_classes' => [
  155. 0 => 'yellow',
  156. 1 => 'red',
  157. 2 => 'blue',
  158. 3 => 'green'
  159. ]
  160. ],
  161. 'form' => [
  162. 'enabled' => true,
  163. 'built_in_css' => true,
  164. 'inline_css' => true,
  165. 'refresh_prevention' => false,
  166. 'client_side_validation' => true,
  167. 'inline_errors' => false,
  168. 'files' => [
  169. 'multiple' => false,
  170. 'limit' => 10,
  171. 'destination' => 'self@',
  172. 'avoid_overwriting' => false,
  173. 'random_name' => false,
  174. 'filesize' => 0,
  175. 'accept' => [
  176. 0 => 'image/*'
  177. ]
  178. ]
  179. ],
  180. 'login' => [
  181. 'enabled' => true,
  182. 'built_in_css' => true,
  183. 'route' => NULL,
  184. 'redirect_to_login' => true,
  185. 'redirect_after_login' => NULL,
  186. 'redirect_after_logout' => '/',
  187. 'route_activate' => '/activate_user',
  188. 'route_forgot' => '/forgot_password',
  189. 'route_reset' => '/reset_password',
  190. 'route_profile' => '/user_profile',
  191. 'route_register' => '/user_register',
  192. 'route_unauthorized' => '/user_unauthorized',
  193. 'dynamic_page_visibility' => false,
  194. 'parent_acl' => false,
  195. 'protect_protected_page_media' => false,
  196. 'rememberme' => [
  197. 'enabled' => true,
  198. 'timeout' => 604800,
  199. 'name' => 'grav-rememberme'
  200. ],
  201. 'max_pw_resets_count' => 0,
  202. 'max_pw_resets_interval' => 60,
  203. 'max_login_count' => 0,
  204. 'max_login_interval' => 2,
  205. 'user_registration' => [
  206. 'enabled' => false,
  207. 'fields' => [
  208. 0 => 'username',
  209. 1 => 'password',
  210. 2 => 'email',
  211. 3 => 'fullname',
  212. 4 => 'title',
  213. 5 => 'level'
  214. ],
  215. 'default_values' => [
  216. 'level' => 'Newbie'
  217. ],
  218. 'access' => [
  219. 'site' => [
  220. 'login' => 'true'
  221. ]
  222. ],
  223. 'redirect_after_registration' => '',
  224. 'options' => [
  225. 'validate_password1_and_password2' => true,
  226. 'set_user_disabled' => false,
  227. 'login_after_registration' => false,
  228. 'send_activation_email' => false,
  229. 'manually_enable' => false,
  230. 'send_notification_email' => false,
  231. 'send_welcome_email' => false
  232. ]
  233. ]
  234. ],
  235. 'error' => [
  236. 'enabled' => true,
  237. 'routes' => [
  238. 404 => '/error'
  239. ]
  240. ],
  241. 'email' => [
  242. 'enabled' => true,
  243. 'from' => NULL,
  244. 'from_name' => NULL,
  245. 'to' => NULL,
  246. 'to_name' => NULL,
  247. 'mailer' => [
  248. 'engine' => 'sendmail',
  249. 'smtp' => [
  250. 'server' => 'localhost',
  251. 'port' => 25,
  252. 'encryption' => 'none',
  253. 'user' => '',
  254. 'password' => ''
  255. ],
  256. 'sendmail' => [
  257. 'bin' => '/usr/sbin/sendmail -bs'
  258. ]
  259. ],
  260. 'content_type' => 'text/html',
  261. 'debug' => false
  262. ],
  263. 'taxonomylist' => [
  264. 'enabled' => true,
  265. 'route' => '/blog'
  266. ],
  267. 'problems' => [
  268. 'enabled' => true,
  269. 'built_in_css' => true
  270. ]
  271. ],
  272. 'media' => [
  273. 'types' => [
  274. 'defaults' => [
  275. 'type' => 'file',
  276. 'thumb' => 'media/thumb.png',
  277. 'mime' => 'application/octet-stream',
  278. 'image' => [
  279. 'filters' => [
  280. 'default' => [
  281. 0 => 'enableProgressive'
  282. ]
  283. ]
  284. ]
  285. ],
  286. 'jpg' => [
  287. 'type' => 'image',
  288. 'thumb' => 'media/thumb-jpg.png',
  289. 'mime' => 'image/jpeg'
  290. ],
  291. 'jpe' => [
  292. 'type' => 'image',
  293. 'thumb' => 'media/thumb-jpg.png',
  294. 'mime' => 'image/jpeg'
  295. ],
  296. 'jpeg' => [
  297. 'type' => 'image',
  298. 'thumb' => 'media/thumb-jpg.png',
  299. 'mime' => 'image/jpeg'
  300. ],
  301. 'png' => [
  302. 'type' => 'image',
  303. 'thumb' => 'media/thumb-png.png',
  304. 'mime' => 'image/png'
  305. ],
  306. 'gif' => [
  307. 'type' => 'animated',
  308. 'thumb' => 'media/thumb-gif.png',
  309. 'mime' => 'image/gif'
  310. ],
  311. 'svg' => [
  312. 'type' => 'vector',
  313. 'thumb' => 'media/thumb-svg.png',
  314. 'mime' => 'image/svg+xml'
  315. ],
  316. 'mp4' => [
  317. 'type' => 'video',
  318. 'thumb' => 'media/thumb-mp4.png',
  319. 'mime' => 'video/mp4'
  320. ],
  321. 'mov' => [
  322. 'type' => 'video',
  323. 'thumb' => 'media/thumb-mov.png',
  324. 'mime' => 'video/quicktime'
  325. ],
  326. 'm4v' => [
  327. 'type' => 'video',
  328. 'thumb' => 'media/thumb-m4v.png',
  329. 'mime' => 'video/x-m4v'
  330. ],
  331. 'swf' => [
  332. 'type' => 'video',
  333. 'thumb' => 'media/thumb-swf.png',
  334. 'mime' => 'video/x-flv'
  335. ],
  336. 'flv' => [
  337. 'type' => 'video',
  338. 'thumb' => 'media/thumb-flv.png',
  339. 'mime' => 'video/x-flv'
  340. ],
  341. 'webm' => [
  342. 'type' => 'video',
  343. 'thumb' => 'media/thumb-webm.png',
  344. 'mime' => 'video/webm'
  345. ],
  346. 'ogv' => [
  347. 'type' => 'video',
  348. 'thumb' => 'media/thumb-ogg.png',
  349. 'mime' => 'video/ogg'
  350. ],
  351. 'mp3' => [
  352. 'type' => 'audio',
  353. 'thumb' => 'media/thumb-mp3.png',
  354. 'mime' => 'audio/mp3'
  355. ],
  356. 'ogg' => [
  357. 'type' => 'audio',
  358. 'thumb' => 'media/thumb-ogg.png',
  359. 'mime' => 'audio/ogg'
  360. ],
  361. 'wma' => [
  362. 'type' => 'audio',
  363. 'thumb' => 'media/thumb-wma.png',
  364. 'mime' => 'audio/wma'
  365. ],
  366. 'm4a' => [
  367. 'type' => 'audio',
  368. 'thumb' => 'media/thumb-m4a.png',
  369. 'mime' => 'audio/m4a'
  370. ],
  371. 'wav' => [
  372. 'type' => 'audio',
  373. 'thumb' => 'media/thumb-wav.png',
  374. 'mime' => 'audio/wav'
  375. ],
  376. 'aiff' => [
  377. 'type' => 'audio',
  378. 'thumb' => 'media/thumb-aif.png',
  379. 'mime' => 'audio/aiff'
  380. ],
  381. 'aif' => [
  382. 'type' => 'audio',
  383. 'thumb' => 'media/thumb-aif.png',
  384. 'mime' => 'audio/aif'
  385. ],
  386. 'txt' => [
  387. 'type' => 'file',
  388. 'thumb' => 'media/thumb-txt.png',
  389. 'mime' => 'text/plain'
  390. ],
  391. 'xml' => [
  392. 'type' => 'file',
  393. 'thumb' => 'media/thumb-xml.png',
  394. 'mime' => 'application/xml'
  395. ],
  396. 'doc' => [
  397. 'type' => 'file',
  398. 'thumb' => 'media/thumb-doc.png',
  399. 'mime' => 'application/msword'
  400. ],
  401. 'docx' => [
  402. 'type' => 'file',
  403. 'thumb' => 'media/thumb-docx.png',
  404. 'mime' => 'application/msword'
  405. ],
  406. 'xls' => [
  407. 'type' => 'file',
  408. 'thumb' => 'media/thumb-xls.png',
  409. 'mime' => 'application/vnd.ms-excel'
  410. ],
  411. 'xlsx' => [
  412. 'type' => 'file',
  413. 'thumb' => 'media/thumb-xlsx.png',
  414. 'mime' => 'application/vnd.ms-excel'
  415. ],
  416. 'ppt' => [
  417. 'type' => 'file',
  418. 'thumb' => 'media/thumb-ppt.png',
  419. 'mime' => 'application/vnd.ms-powerpoint'
  420. ],
  421. 'pptx' => [
  422. 'type' => 'file',
  423. 'thumb' => 'media/thumb-pptx.png',
  424. 'mime' => 'application/vnd.ms-powerpoint'
  425. ],
  426. 'pps' => [
  427. 'type' => 'file',
  428. 'thumb' => 'media/thumb-pps.png',
  429. 'mime' => 'application/vnd.ms-powerpoint'
  430. ],
  431. 'rtf' => [
  432. 'type' => 'file',
  433. 'thumb' => 'media/thumb-rtf.png',
  434. 'mime' => 'application/rtf'
  435. ],
  436. 'bmp' => [
  437. 'type' => 'file',
  438. 'thumb' => 'media/thumb-bmp.png',
  439. 'mime' => 'image/bmp'
  440. ],
  441. 'tiff' => [
  442. 'type' => 'file',
  443. 'thumb' => 'media/thumb-tiff.png',
  444. 'mime' => 'image/tiff'
  445. ],
  446. 'mpeg' => [
  447. 'type' => 'file',
  448. 'thumb' => 'media/thumb-mpg.png',
  449. 'mime' => 'video/mpeg'
  450. ],
  451. 'mpg' => [
  452. 'type' => 'file',
  453. 'thumb' => 'media/thumb-mpg.png',
  454. 'mime' => 'video/mpeg'
  455. ],
  456. 'mpe' => [
  457. 'type' => 'file',
  458. 'thumb' => 'media/thumb-mpe.png',
  459. 'mime' => 'video/mpeg'
  460. ],
  461. 'avi' => [
  462. 'type' => 'file',
  463. 'thumb' => 'media/thumb-avi.png',
  464. 'mime' => 'video/msvideo'
  465. ],
  466. 'wmv' => [
  467. 'type' => 'file',
  468. 'thumb' => 'media/thumb-wmv.png',
  469. 'mime' => 'video/x-ms-wmv'
  470. ],
  471. 'html' => [
  472. 'type' => 'file',
  473. 'thumb' => 'media/thumb-html.png',
  474. 'mime' => 'text/html'
  475. ],
  476. 'htm' => [
  477. 'type' => 'file',
  478. 'thumb' => 'media/thumb-html.png',
  479. 'mime' => 'text/html'
  480. ],
  481. 'ics' => [
  482. 'type' => 'iCal',
  483. 'thumb' => 'media/thumb-ics.png',
  484. 'mime' => 'text/calendar'
  485. ],
  486. 'pdf' => [
  487. 'type' => 'file',
  488. 'thumb' => 'media/thumb-pdf.png',
  489. 'mime' => 'application/pdf'
  490. ],
  491. 'ai' => [
  492. 'type' => 'file',
  493. 'thumb' => 'media/thumb-ai.png',
  494. 'mime' => 'image/ai'
  495. ],
  496. 'psd' => [
  497. 'type' => 'file',
  498. 'thumb' => 'media/thumb-psd.png',
  499. 'mime' => 'image/psd'
  500. ],
  501. 'zip' => [
  502. 'type' => 'file',
  503. 'thumb' => 'media/thumb-zip.png',
  504. 'mime' => 'application/zip'
  505. ],
  506. '7z' => [
  507. 'type' => 'file',
  508. 'thumb' => 'media/thumb-7z.png',
  509. 'mime' => 'application/x-7z-compressed'
  510. ],
  511. 'gz' => [
  512. 'type' => 'file',
  513. 'thumb' => 'media/thumb-gz.png',
  514. 'mime' => 'application/gzip'
  515. ],
  516. 'tar' => [
  517. 'type' => 'file',
  518. 'thumb' => 'media/thumb-tar.png',
  519. 'mime' => 'application/x-tar'
  520. ],
  521. 'css' => [
  522. 'type' => 'file',
  523. 'thumb' => 'media/thumb-css.png',
  524. 'mime' => 'text/css'
  525. ],
  526. 'js' => [
  527. 'type' => 'file',
  528. 'thumb' => 'media/thumb-js.png',
  529. 'mime' => 'application/javascript'
  530. ],
  531. 'json' => [
  532. 'type' => 'file',
  533. 'thumb' => 'media/thumb-json.png',
  534. 'mime' => 'application/json'
  535. ]
  536. ]
  537. ],
  538. 'security' => [
  539. 'xss_whitelist' => [
  540. 0 => 'admin.super'
  541. ],
  542. 'xss_enabled' => [
  543. 'on_events' => true,
  544. 'invalid_protocols' => true,
  545. 'moz_binding' => true,
  546. 'html_inline_styles' => true,
  547. 'dangerous_tags' => true
  548. ],
  549. 'xss_dangerous_tags' => [
  550. 0 => 'applet',
  551. 1 => 'meta',
  552. 2 => 'xml',
  553. 3 => 'blink',
  554. 4 => 'link',
  555. 5 => 'style',
  556. 6 => 'script',
  557. 7 => 'embed',
  558. 8 => 'object',
  559. 9 => 'iframe',
  560. 10 => 'frame',
  561. 11 => 'frameset',
  562. 12 => 'ilayer',
  563. 13 => 'layer',
  564. 14 => 'bgsound',
  565. 15 => 'title',
  566. 16 => 'base'
  567. ],
  568. 'uploads_dangerous_extensions' => [
  569. 0 => 'php',
  570. 1 => 'html',
  571. 2 => 'htm',
  572. 3 => 'js',
  573. 4 => 'exe'
  574. ],
  575. 'salt' => 'nYsAV6yboIDM12'
  576. ],
  577. 'site' => [
  578. 'title' => 'HeHe',
  579. 'default_lang' => 'en',
  580. 'author' => [
  581. 'name' => 'Joe Bloggs',
  582. 'email' => 'joe@example.com'
  583. ],
  584. 'taxonomies' => [
  585. 0 => 'category',
  586. 1 => 'tag'
  587. ],
  588. 'metadata' => [
  589. 'description' => 'Grav is an easy to use, yet powerful, open source flat-file CMS'
  590. ],
  591. 'summary' => [
  592. 'enabled' => true,
  593. 'format' => 'short',
  594. 'size' => 300,
  595. 'delimiter' => '==='
  596. ],
  597. 'redirects' => NULL,
  598. 'routes' => NULL,
  599. 'blog' => [
  600. 'route' => '/blog'
  601. ]
  602. ],
  603. 'streams' => [
  604. 'schemes' => [
  605. 'image' => [
  606. 'type' => 'ReadOnlyStream',
  607. 'paths' => [
  608. 0 => 'user://images',
  609. 1 => 'system://images'
  610. ]
  611. ],
  612. 'page' => [
  613. 'type' => 'ReadOnlyStream',
  614. 'paths' => [
  615. 0 => 'user://pages'
  616. ]
  617. ],
  618. 'account' => [
  619. 'type' => 'ReadOnlyStream',
  620. 'paths' => [
  621. 0 => 'user://accounts'
  622. ]
  623. ]
  624. ]
  625. ],
  626. 'system' => [
  627. 'absolute_urls' => false,
  628. 'timezone' => '',
  629. 'default_locale' => NULL,
  630. 'param_sep' => ':',
  631. 'wrapped_site' => false,
  632. 'reverse_proxy_setup' => false,
  633. 'force_ssl' => false,
  634. 'force_lowercase_urls' => true,
  635. 'custom_base_url' => '',
  636. 'username_regex' => '^[a-z0-9_-]{3,16}$',
  637. 'pwd_regex' => '(?=.*\\d)(?=.*[a-z])(?=.*[A-Z]).{8,}',
  638. 'intl_enabled' => true,
  639. 'languages' => [
  640. 'supported' => [
  641. ],
  642. 'include_default_lang' => true,
  643. 'translations' => true,
  644. 'translations_fallback' => true,
  645. 'session_store_active' => false,
  646. 'http_accept_language' => true,
  647. 'override_locale' => true
  648. ],
  649. 'home' => [
  650. 'alias' => '/projets',
  651. 'hide_in_urls' => false
  652. ],
  653. 'pages' => [
  654. 'theme' => 'hehe',
  655. 'order' => [
  656. 'by' => 'default',
  657. 'dir' => 'asc'
  658. ],
  659. 'list' => [
  660. 'count' => 20
  661. ],
  662. 'dateformat' => [
  663. 'default' => NULL,
  664. 'short' => 'd-m-y G:i',
  665. 'long' => 'd-m-y G:i'
  666. ],
  667. 'publish_dates' => true,
  668. 'process' => [
  669. 'markdown' => true,
  670. 'twig' => false
  671. ],
  672. 'twig_first' => false,
  673. 'never_cache_twig' => false,
  674. 'events' => [
  675. 'page' => true,
  676. 'twig' => true
  677. ],
  678. 'markdown' => [
  679. 'extra' => false,
  680. 'auto_line_breaks' => true,
  681. 'auto_url_links' => false,
  682. 'escape_markup' => false,
  683. 'special_chars' => [
  684. '>' => 'gt',
  685. '<' => 'lt'
  686. ]
  687. ],
  688. 'types' => [
  689. 0 => 'txt',
  690. 1 => 'xml',
  691. 2 => 'html',
  692. 3 => 'htm',
  693. 4 => 'json',
  694. 5 => 'rss',
  695. 6 => 'atom'
  696. ],
  697. 'append_url_extension' => '',
  698. 'expires' => 604800,
  699. 'cache_control' => NULL,
  700. 'last_modified' => false,
  701. 'etag' => false,
  702. 'vary_accept_encoding' => false,
  703. 'redirect_default_route' => false,
  704. 'redirect_default_code' => '302',
  705. 'redirect_trailing_slash' => true,
  706. 'ignore_files' => [
  707. 0 => '.DS_Store'
  708. ],
  709. 'ignore_folders' => [
  710. 0 => '.git',
  711. 1 => '.idea'
  712. ],
  713. 'ignore_hidden' => true,
  714. 'url_taxonomy_filters' => true,
  715. 'frontmatter' => [
  716. 'process_twig' => false,
  717. 'ignore_fields' => [
  718. 0 => 'form',
  719. 1 => 'forms'
  720. ]
  721. ]
  722. ],
  723. 'cache' => [
  724. 'enabled' => false,
  725. 'check' => [
  726. 'method' => 'file'
  727. ],
  728. 'driver' => 'auto',
  729. 'prefix' => 'g',
  730. 'clear_images_by_default' => false,
  731. 'cli_compatibility' => false,
  732. 'lifetime' => 604800,
  733. 'gzip' => false,
  734. 'allow_webserver_gzip' => false,
  735. 'redis' => [
  736. 'socket' => false
  737. ]
  738. ],
  739. 'twig' => [
  740. 'cache' => false,
  741. 'debug' => true,
  742. 'auto_reload' => true,
  743. 'autoescape' => false,
  744. 'undefined_functions' => true,
  745. 'undefined_filters' => true,
  746. 'umask_fix' => false
  747. ],
  748. 'assets' => [
  749. 'css_pipeline' => false,
  750. 'css_pipeline_include_externals' => true,
  751. 'css_pipeline_before_excludes' => true,
  752. 'css_minify' => true,
  753. 'css_minify_windows' => false,
  754. 'css_rewrite' => true,
  755. 'js_pipeline' => false,
  756. 'js_pipeline_include_externals' => true,
  757. 'js_pipeline_before_excludes' => true,
  758. 'js_minify' => true,
  759. 'enable_asset_timestamp' => false,
  760. 'collections' => [
  761. 'jquery' => 'system://assets/jquery/jquery-2.x.min.js'
  762. ]
  763. ],
  764. 'errors' => [
  765. 'display' => 1,
  766. 'log' => true
  767. ],
  768. 'debugger' => [
  769. 'enabled' => false,
  770. 'shutdown' => [
  771. 'close_connection' => true
  772. ],
  773. 'twig' => true
  774. ],
  775. 'images' => [
  776. 'default_image_quality' => 85,
  777. 'cache_all' => false,
  778. 'cache_perms' => '0755',
  779. 'debug' => false,
  780. 'auto_fix_orientation' => false
  781. ],
  782. 'media' => [
  783. 'enable_media_timestamp' => false,
  784. 'unsupported_inline_types' => [
  785. ],
  786. 'allowed_fallback_types' => [
  787. ],
  788. 'auto_metadata_exif' => false,
  789. 'upload_limit' => 2097152
  790. ],
  791. 'session' => [
  792. 'enabled' => true,
  793. 'initialize' => true,
  794. 'timeout' => 1800,
  795. 'name' => 'grav-site',
  796. 'secure' => false,
  797. 'httponly' => true,
  798. 'split' => true,
  799. 'path' => NULL
  800. ],
  801. 'gpm' => [
  802. 'releases' => 'stable',
  803. 'proxy_url' => NULL,
  804. 'method' => 'auto',
  805. 'verify_peer' => true,
  806. 'official_gpm_only' => true
  807. ],
  808. 'strict_mode' => [
  809. 'yaml_compat' => true,
  810. 'twig_compat' => true
  811. ]
  812. ]
  813. ]
  814. ];