master-localhost.php 34 KB

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