master-dev.anissabensalah.net.php 30 KB

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