config.php.template 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <?php
  2. /**
  3. * Pico configuration
  4. *
  5. * This is the configuration file for {@link Pico}. It comes loaded with the
  6. * default values, which can be found in {@link Pico::getConfig()} (see
  7. * {@path "lib/Pico.php"}).
  8. *
  9. * To override any of the default settings below, copy this file to
  10. * {@path "config/config.php"}, uncomment the line, then make and
  11. * save your changes.
  12. *
  13. * @author Gilbert Pellegrom
  14. * @link http://picocms.org
  15. * @license http://opensource.org/licenses/MIT
  16. * @version 1.0
  17. */
  18. /*
  19. * BASIC
  20. */
  21. // $config['site_title'] = 'Pico'; // Site title
  22. // $config['base_url'] = ''; // Override base URL (e.g. http://example.com)
  23. // $config['rewrite_url'] = null; // A boolean indicating forced URL rewriting
  24. /*
  25. * THEME
  26. */
  27. // $config['theme'] = 'default'; // Set the theme (defaults to "default")
  28. // $config['twig_config'] = array( // Twig settings
  29. // 'cache' => false, // To enable Twig caching change this to a path to a writable directory
  30. // 'autoescape' => false, // Auto-escape Twig vars
  31. // 'debug' => false // Enable Twig debug
  32. // );
  33. /*
  34. * CONTENT
  35. */
  36. // $config['date_format'] = '%D %T'; // Set the PHP date format as described here: http://php.net/manual/en/function.strftime.php
  37. // $config['pages_order_by'] = 'alpha'; // Order pages by "alpha" or "date"
  38. // $config['pages_order'] = 'asc'; // Order pages "asc" or "desc"
  39. // $config['content_dir'] = 'content-sample/'; // Content directory
  40. // $config['content_ext'] = '.md'; // File extension of content files to serve
  41. /*
  42. * TIMEZONE
  43. */
  44. // $config['timezone'] = 'UTC'; // Timezone may be required by your php install
  45. /*
  46. * PLUGINS
  47. */
  48. // $config['DummyPlugin.enabled'] = false; // Force DummyPlugin to be disabled
  49. /*
  50. * CUSTOM
  51. */
  52. // $config['custom_setting'] = 'Hello'; // Can be accessed by {{ config.custom_setting }} in a theme